ZeroGravity UI

Interfacestable

Seam

Pixel divider

A section divider built from pixel blocks: dashes, stairs, a dithered fade or a travelling pulse.

Customize

Seamblock size, colour and the travelling pulse
4 pxcell
tone
animated
3.20 sspeed

Usage

TSX
import { Seam } from "zerogravity/seam"

<Seam
    tone="#9d7bff"
/>

Generated from the controls above. Only props that differ from their defaults are shown.

Props

7 documented props on Seam
PropertyTypeDefaultDescription
cellnumber4Cell. Range 2 to 10 px.
tonestring | nullnullTone.
animatedbooleanfalseAnimated.
speednumber3.2Speed. Range 0.8 to 8 s.
pattern"dash" | "stair" | "dither" | "pulse""dash"Block pattern. Pulse animates unless animated is set to false.
labelReactNode—Centred mono caption; a string also names the separator.
decorativebooleanfalseHide from assistive technology instead of exposing a separator.

Dependencies

0 external runtime dependencies

Ships with nothing but React.