v1.1.0
Get started
Components
OverviewStack
Row
Clamp
Columns
Grid
BoxSplitBreakout
Guides
OverviewGlobal stylesServer-side rendering (SSR)TypeScript
Examples
OverviewArticleBreadcrumbsCardFooterOverlayPage sectionsSidebar/details viewToolbar
Browser supportAcknowledgements
LYTS

Examples

Copy/paste-able snippets for common layouts.

Article

Create a common article layout with Clamp, with support for full-width "break out" elements.

View example

Breadcrumbs

Use Row with the `wrap` prop to create mobile-friendly breadcrumbs

View example

Card

Compose multiple layout components to achieve the common card style

View example

Footer

Leverage Columns to create a 4-columns footer layout, collapsing into a single column on small screens

View example

Overlay

Use Clamp to create an overlay which is centered both horizontally and vertically.

View example

Page sections

Use Columns to create landing page sections, which collapse to a single column on small sizes.

View example

Sidebar/details view

Use Columns with a combination of `ratio` and min-/max-width to create a responsive sidebar.

View example

Toolbar

Compose Row with Split to create a toolbar layout, wrapping to the next line on small screens.

View example

PreviousTypeScript
NextArticle

Source codeReport issueAsk question

Made with ❤️ by Christian Kaindl