Skip to content
Onycx-ui
ESC

Outline Depth Statement

Layer solid and outlined words that move at different speeds as you scroll.

Dependencies
No extra packages
Size
180 lines
Controls
9 controls

Installation

CLI · shadcn registry

npx shadcn@latest add https://ui.onycx.dev/r/outline-depth-statement.json

1 · Dependencies

None beyond React and Tailwind.

2 · Copy the source

components/onycx/outline-depth-statement.tsx

Requires React 19 and Tailwind CSS v4. Copy the source from the outline-depth-statement.tsx tab after tweaking: your values are baked in as the new defaults. Exported image examples use portable sample artwork. Replace it with your own media as needed.

Props

PropTypeDefaultDescription
eyebrowstring"The Philosophy"12px uppercase label, 0.3em tracking, in the accent colour.
top / bottomstring"Quiet" / "Luxury"Solid word and outlined word; read as one heading.
bodystring—Centred paragraph (max 42rem) under the words; empty hides it.
color / accent / muted / backgroundstring"#EEE4D6" / "#AD7D56" / "#998A79" / "#000000"Solid fill, outline stroke and eyebrow, paragraph, section background.
topSpeed / bottomSpeednumber0.18 / 0.42Drift of each word: translateY = −progress × speed × 100px, progress −1 → 1 across the viewport.