Skip to content
The design kit

Controls

The design kit’s buttons, busy buttons, marked and read-only fields, checkbox fields, steppers, callouts with Try again and dialogs, in each state they can be in. Its loading line, progress and toast are here too.

Each state is shown twice: live in your theme, marked Live, and as a preview in the other. The busy button, the failure with Try again and the part of the page that is loading are pictures in both themes, since a live copy would act as the page loads. The links among pages and the links in a row are pictures too, since the page has navigation of its own. Under each name is the code behind it. To see the other theme live, choose Light or Dark next to Theme, at the top of the page.

Buttons

The busy button is a picture here. Behavior shows one working when you press it.

What the tests check for Buttons

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Fields

The errors here are drawn by this page, so they stay as you fix them. The refused form on Behavior shows the kit clearing one.

What the tests check for Fields

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Checkbox field

The error here is drawn by this page, so it stays as you check the box. The refused form on Behavior shows the kit clearing one.

What the tests check for Checkbox field

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Stepper

What the tests check for Stepper

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Dialog

What the tests check for Dialog

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Callouts

The failure with Try again is a picture here. Behavior shows one working when you press it.

What the tests check for Callouts

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Toast

A toast says what just happened, at the foot of the screen, and can offer one action, such as Undo. The button here shows one. A toast with Undo stays until it is dismissed, and the one Undo shows leaves after five seconds. The toast in an app’s frame is under App pieces, in both themes.

What the tests check for Toast

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Loading and progress

The part of the page that is loading is a picture here. Behavior shows one working when you press it.

What the tests check for Loading and progress

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Theme switch

What the tests check for Theme switch

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Copy button

What the tests check for Copy button

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Pills

The links among pages are a picture here. The site’s own navigation, at the top of this page, is the live one.

What the tests check for Pills

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Tabs

The links in a row are a picture here. The pieces together has a live row of them at its top.

What the tests check for Tabs

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents

Eyebrows

What the tests check for Eyebrows

These are the design kit’s own tests for this part, by the file each is in. They come from the source on GitHub as it was when this page was built, so they can be newer than the version named in the footer. Each file name opens that file as it was then.

Back to contents