Interfacestable
Seam
Pixel divider
A section divider built from pixel blocks: dashes, stairs, a dithered fade or a travelling pulse.
dash
stair
dither
pulse
Customize
Seamblock size, colour and the travelling pulse
4 px
celltoneanimated3.20 s
speedUsage
import { Seam } from "zerogravity/seam"
<Seam
tone="#9d7bff"
/>Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
cell | number | 4 | Cell. Range 2 to 10 px. |
tone | string | null | null | Tone. |
animated | boolean | false | Animated. |
speed | number | 3.2 | Speed. Range 0.8 to 8 s. |
pattern | "dash" | "stair" | "dither" | "pulse" | "dash" | Block pattern. Pulse animates unless animated is set to false. |
label | ReactNode | — | Centred mono caption; a string also names the separator. |
decorative | boolean | false | Hide from assistive technology instead of exposing a separator. |
Dependencies
0 external runtime dependencies
Ships with nothing but React.