ποΈ ontario-accordion
Use accordions to provide a show/hide option for sections of content on complex pages.
ποΈ ontario-aside
Use asides to highlight in-page content.
ποΈ ontario-back-to-top
Use a Back to Top button to help users quickly navigate to the top of a long page.
ποΈ ontario-blockquote
Use a blockquote to draw attention to a speaker quote or excerpt.
ποΈ ontario-button
Use buttons to help the user carry out an important action such as starting a transaction or agreeing to a purchase.
ποΈ ontario-callout
Use callouts to highlight in-page content.
ποΈ ontario-card
Use a card to provide an entry point to information on a different page.
ποΈ ontario-card-collection
Use a card-collection to encapsulate the card components.
ποΈ ontario-checkboxes
Use checkboxes when you want the user to select one or more options from a list.
ποΈ ontario-critical-alert
Use a critical alert banner to bring a userβs attention to a significant situation, such as a site-wide service disruption or other critical information that will impact most users.
ποΈ ontario-date-input
Use this component for user-friendly date input and display.
ποΈ ontario-dropdown-list
Only use a dropdown (select) list if you cannot use other form components to capture the userβs information.
ποΈ ontario-fieldset
Use the fieldset element to group related form elements.
ποΈ ontario-footer
Use the simple footer for most applications and subsites. It includes links to accessibility, privacy and copyright information.
ποΈ ontario-header
Use the ontario type header for all pages that are part of the main ontario.ca website. This header is mandatory.
ποΈ ontario-hint-expander
Use a hint expander when:
ποΈ ontario-hint-text
Use hint text to help users understand how to complete fields in a form. When adding hint text, the first choice should always be to display hint text without using a hint expander.
ποΈ ontario-icon
Use simple, easy-to-understand icons from Material Design to help guide users.
ποΈ ontario-input
Use a text input when you want the user to enter no more than a single line of information.
ποΈ ontario-language-toggle
This component is used internally to toggle the component languages, set translations and update the HTML lang attribute in the DOM.
ποΈ ontario-loading-indicator
Use a loading indicator to let users know when an application or page element needs more time to process an action.
ποΈ ontario-page-alert
Use page alerts to notify users of important information or changes on a page. There are four types of page alerts (i.e informational, warning, success and error).
ποΈ ontario-radio-buttons
Use radio buttons when you want the user to select only one option from a list.
ποΈ ontario-step-indicator
Use a step indicator to show a userβs progress as they move through a multi-step form.
ποΈ ontario-table
Use a table to present data and make it easy to compare or contrast values.
ποΈ ontario-textarea
Use a text area when you want the user to enter more than a single line of information.