Skip to content

Tabbed showcase

Built on Tabs, so arrow keys, Home and End move between tabs. Without JavaScript every panel shows in order.

Library

What's in the library

Small controls

Buttons, inputs, images and tags: the parts every page uses.

Learn more

Composed pieces

Cards, dialogs, tabs and carousels built from those elements.

Learn more

Page parts

Heroes, statements and footers, ready to compose a page.

Learn more

Shared values

Colour, type and spacing in one file, remapped by each surface.

Learn more
  • items: list of { label, title, text, image, imageAlt, href, linkLabel }; title falls back to label
  • orientation: horizontal (default), vertical (tabs as a list beside the media from tablet width up)
  • surface: light, alternate, brand, dark
  • eyebrow, title, intro: optional SectionHeader
  • id: prefix for tab ids; give each showcase on a page its own
<TabbedShowcase
id="layers"
title="What's in the library"
items={[
{
label: "Elements",
title: "Small controls",
text: "Buttons, inputs, images and tags: the parts every page uses.",
image: "/images/elements.jpg",
imageAlt: "A row of buttons and inputs",
href: "/elements/button/",
},
]}
/>
orientation="vertical" surface="alternate"

Four layers, one library

Small controls

Buttons, inputs, images and tags: the parts every page uses.

Learn more

Composed pieces

Cards, dialogs, tabs and carousels built from those elements.

Learn more

Page parts

Heroes, statements and footers, ready to compose a page.

Learn more

Shared values

Colour, type and spacing in one file, remapped by each surface.

Learn more