213
Text that decodes from random glyphs into the real words, sweeping left to right on view, on hover or on demand, with a monospace variant for codes and labels.
akatext scramble·decode·decrypt
Run this in any project set up for the shadcn CLI. It copies the Scramble Text source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/scramble-text.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ScrambleText } from "@/components/scramble-text";
export default function Page() {
return <ScrambleText />;
}A free React motion component in the Text collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Scramble Text source. Everything is optional unless it says required. It also accepts Omit<ComponentProps<"span">, "children">.
| Prop | Type | Default |
|---|---|---|
| textrequired | string | — |
| trigger | "view" | "hover" | "mount" | "view" |
| mono | boolean | false |
| hold | number | 260 |
| stagger | number | 28 |
| delay | number | 0 |
| replay | number | — |
| as | ElementType | "span" |
| href | string | — |