Templates
About
A marketing and editorial page shape, including the hero heading group, a dialog on invoker commands, and a card carousel.
This is the page to copy when you're building anything content-led: a landing page, an about page, an article index. It's the standard Zazz page skeleton (header, sections in main, footer) filled in with the patterns those pages actually need.
What to look at
- The hero heading group. An
hgroupholding the eyebrow, display heading, subheading, and call-to-action buttons, the house pattern for opening a page. Note that the eyebrow is authored in sentence case; the uppercasing comes from.text-eyebrow. - A dialog with no JavaScript of yours. The "open dialog" button uses invoker commands (
command="show-modal"withcommandfor) against a native<dialog class="ui-dialog">. Open it and close it three ways: the close button, the backdrop, and the escape key. - A card carousel.
<ui-carousel>wrapping the article cards, configured entirely throughdata-carousel-*attributes, with the cards themselves composed from utilities overbg-card. - View transitions. The header and footer carry
data-transition-layerattributes, so navigating between template pages animatesmainwhile the chrome holds still. Click through to Products and back with the network tab open.
Source
Open the raw page, or read about.html on GitHub.