Text that resolves out of scrambled glyphs, character by character, with jitter and a terminal variant — SSR-readable and reduced-motion safe.
"use client"; import { DecryptText } from "@/components/ui/decrypt-text"; export default function DecryptTextDemo() { return ( <div className="flex w-full flex-col items-center justify-center gap-10 p-12"> <DecryptText as="h1" text="Ship motion that feels engineered" variant="display" trigger="mount" stagger={38} retriggerOnHover className="max-w-2xl text-center text-4xl font-semibold tracking-tight text-[var(--motiq-fg)] sm:text-5xl" /> <DecryptText text="npx shadcn@latest add https://motiq.dev/r/decrypt-text" variant="terminal" trigger="mount" startDelay={600} loop={5200} className="w-full max-w-xl" /> </div> ); }
Part of Motiq — browse the full library on 21st.dev.