Skip to main content
Clever Ops

Kinetic Type Wall

Editorial kinetic type wall for React, outline echoes of the headline drift in alternating directions while one inked row carries the accent word. Tailwind-token themed; hover eases it to a halt.

Preview & code

Loading Kinetic Type Wall preview

Installation

pnpm dlx shadcn@latest add @cleverui/text-kinetic-wall

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { TextKineticWall } from '@/components/ui/text-kinetic-wall'
Exampletsx
import { TextKineticWall } from '@/components/ui/text-kinetic-wall'

export default function TextKineticWallDemo() {
  return (
    <div className="relative mx-auto flex min-h-[600px] w-full max-w-6xl flex-col items-center justify-center gap-8 overflow-hidden px-0 py-16 sm:px-4">
      <p className="px-4 font-mono text-[11px] uppercase tracking-[0.2em] text-muted-foreground sm:text-xs">
        Spectacle · hover to halt the wall
      </p>
      <TextKineticWall
        as="h1"
        text="Ship the draft"
        accentWord="draft"
        rows={5}
        speed={1}
      />
      <p className="max-w-md px-4 text-center text-sm leading-relaxed text-muted-foreground">
        Hollow outline echoes drift in alternating lanes. One inked row carries the accent,
        ease to a stop on hover, resume on leave.
      </p>
    </div>
  )
}

API reference

TextKineticWall accepts the following props.

PropTypeDefaultDescription
text*stringthe headline, repeated per row, budget ≤ 32 chars
accentWordstringword in the live row set in text-primary; defaults to the last word
rowsnumber5row count, clamped 3–7; the middle row is the live inked row
speednumber1drift speed multiplier
as'h1' | 'h2' | 'h3''h2'heading level of the sr-only text

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Frequently asked questions

How do I install the Kinetic Type Wall component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/text-kinetic-wall`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Kinetic Type Wall require?

Kinetic Type Wall uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Kinetic Type Wall to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services