Default
A word scribbled out in ink. The strokes lean, vary in pitch and spill past the letters.
Words scribbled out with tight back-and-forth strokes, like a note someone changed their mind about. A look, not a redaction: the text underneath stays in the DOM.
npx shadcn@latest add @wobko/scribbleFirst time here? Add the registry to components.json first. How to install
A word scribbled out in ink. The strokes lean, vary in pitch and spill past the letters.
Ink brush, a fine liner that leaves the words readable, red felt, blue felt and soft pencil: one change of mind each.
Scribbles, strikes and a highlight on the same page: an editor's pass over a paragraph.
A <span> (or your own element with asChild) that hosts a scribble per line, in front of the words.
| Prop | Type | Default | Description |
|---|---|---|---|
| tone | "ink" | "red" | "blue" | "green" | "pencil" | "marker" | "orange" | "ink" | The pen. |
| weight | "fine" | "regular" | "brush" | "regular" | Fine scribbles are light and leave the words legible; regular and brush are dense. |
| animate | boolean | false | Scribble it out the first time it scrolls into view. |
| show | boolean | true | Show or hide the scribble. |
| delay | number | - | Milliseconds to wait before scribbling. |
| seed | string | number | - | Pins the hand. |
| asChild | boolean | false | Render the scribble on your own child element. |
The files the CLI copies into your project.
Loading the source