Folio Opening
A two-column opening spread with a serif headline, a ruled lede and an inked device illustration in your theme colours.
An opening spread set like a book page: a mono chapter label with a pulsing dot, a large serif headline (wrap a word in *asterisks* to set it in italic primary), a ruled lede, and a device illustration inked in the foreground colour over primary circuit dots on faint ruled lines. Everything is drawn from theme tokens, so it follows light and dark mode and the palette picker. Type scales with the section through container query units and the layout stacks in narrow containers. The float, drift and pulse stop when the user prefers reduced motion.
Quiet tools, loud work.
An interface set like a good page: calm margins, clear type and nothing between you and the next idea.
Installation
CLI
npx @modus-ui/cli add folio-openingManual
- Copy the code from the component tab.
- Create a file at
components/ui/folio-opening.tsx. - Paste the code.
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | "Chapter one" | Mono label above the headline. |
title | string | "Quiet tools, *loud* work." | Serif headline; *text* is set in italic primary. |
description | string | "An interface set like a good page: calm margins, clear type and nothing between you and the next idea." | Ruled lede under the headline. |
backgroundColor | string | None | Section background; defaults to the theme background. |
className | string | None | Extra classes for the section. |
style | CSSProperties | None | Inline styles for the section. |
Comments