Ontario Design System web components now available!!!

Ontario Design System Web Components

Web components are a set of web platform APIs that enable the creation of custom, reusable, encapsulated HTML tags to use in web pages and web apps. They allow for all logic, styles and component-specific layout to be handled in one place.

In-page navigation

In-page navigation - default

About the program

Use in-page navigation to give people quick access to key sections in long content.

Eligibility

Make sure each navigation label matches the destination heading text as closely as possible.

Available funding

Use the component before the content it references so people can orient themselves early.

Program guide

Keep link text short and descriptive so people can scan the list quickly.

Contact us

Use meaningful destinations so the list behaves like a clear table of contents.

In-page navigation - no top border

Overview

This version removes the top border so it can sit within a smaller content section.

The law (cancellations)

Use valid in-page anchors so the navigation can move people to the intended section.

What to include in your contract

Longer item labels should still remain readable and wrap naturally within the list.

Before you buy

Keep related sections grouped so the navigation reflects the structure of the page.

Accordion


Badges

Default Default light Neutral Neutral light

Blockquotes

In the past few years, Ontario has gained a high level of respect for its visionary work in early education. The changes have been profound, and thoughtfully introduced. The views that guide the work are articulated clearly, and express great respect for children, families, and educators. We now have a solid foundation upon which to build a more coherent system.

Buttons

Primary button

Primary

Secondary button

Secondary

Tertiary button

Tertiary

Callouts and Asides

Callouts

With Heading

Sign up for email reminders and we’ll notify you 60 and 30 days before your licence expires.

Without Heading

Sign up for email reminders and we’ll notify you 60 and 30 days before your licence expires.

Asides

With Heading

Without Heading


Card Collection & Card

Basic cards (no images)

Basic cards with 4:3 images

Basic cards with 16:9 images

Basic cards with 2:1 images

Horizontal cards with left align 9:16 images (one-fourth size)

Horizontal cards with left align 9:16 images (one-third size)

Horizontal cards with right align 9:16 images (one-fourth size)

Horizontal cards with right align 9:16 images (one-third size)

Edge cases


Checkboxes



Fieldsets


Change the page header

Activate the Ontario.ca Header Activate the Application Header Activate the ServiceOntario Header

Icons

Primary Icons

Secondary Icons


Loading Indicator


Page alerts

Informational

ServiceOntario centres may issue either a blue licence plate or a white embossed ‘Yours to Discover’ licence plate depending on availability. Learn more about replacing a licence plate.

Warning

We are experiencing longer than normal wait times at this ServiceOntario centre. You can check out our Service Finder to see if the service you need is offered online or at a different centre nearby.

Success

Error

Errors were found on this page:

Radio buttons


Tables

3 columns (non-numeric)

5 columns (numeric)

7 columns (numeric and condensed)


Tasks


Textareas


Text inputs


Date Input


Back button

History mode (default)

Href mode

Event mode


Step Indicator

Percentage

Steps

No back button


Summary list


Autocomplete with Ontario cities (async)

Autocomplete with slotted semantic and custom options

Waterloo Custom HTML option

Form example

Submit