Salon Banner
Web (React)
An oversized serif headline ringed by twelve plates mixed from your theme, orbiting while hovered.
A two-line headline in the theme's heading face, set inside a tilted ring of twelve 4:3 plates. By default the plates are a tonal ladder mixed from the page, muted, primary and foreground tokens and shaded with a halftone field, so the gallery follows light, dark and every palette. The ring rests until a pointer is over it, then comes up to one orbit every 15 seconds and settles back to a stop on leave. The four original galleries — matte (sprung), glitch, riso and halftone — remain available through variant, each with its own palette, field, typeface and orbit.
Twelve quiet studies in tone
Installation
CLI
npx @modus-ui/cli add salon-bannerManual
- Copy the code from the component tab.
- Create a file at
components/ui/salon-banner.tsx. - Paste the code.
Usage
tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "tonal" | "rising-diagonal" | "falling-diagonal" | "horizontal-sweep" | "vertical-loop" | "tonal" | Tonal theme gallery, or the matte, glitch, riso or halftone gallery. |
text | string | — | Two-line headline split on \n. Defaults to the variant's own. |
font | "heading" | "serif" | "didone" | "oldstyle" | "sans" | — | Headline face. Defaults to the variant's face. |
weight | "400" | "700" | — | Headline weight. Defaults to the variant's weight. |
headlineSize | number | — | Headline size multiplier (0.6–1.8). Defaults to the variant's. |
colors | string[] | — | Twelve plate colours (any CSS colour). Defaults to the variant's palette. |
backgroundColor | string | — | Stage colour. Defaults to hsl(var(--background)). |
hue | number | 0 | Hue rotation of the final frame, in degrees. |
saturation | number | 1 | Saturation of the final frame. |
brightness | number | 1 | Brightness of the final frame. |
Comments