Skip to content
The design kit

Explainer pieces

An explainer is the page that says how a demo works, the one the strip’s “How it works” link opens. These are its layout and its pieces: steps, panels, tables and code blocks.

The steps, panels, tables and code blocks are each drawn inside an explainer, at the sizes and width one gives them. Each piece is shown twice: live in your theme, marked Live, and as a preview in the other. 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. The layout of a whole explainer is a picture in both themes, since a live copy would give this page a second main heading.

The layout

The layout is a picture here. How the design kit works, this site’s own explainer, is a live one.

What the tests check for The layout

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

Steps

What the tests check for Steps

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

Panels

What the tests check for Panels

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

Tables

What the tests check for Tables

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

Code blocks

What the tests check for Code blocks

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