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/scribble第一次使用?先把 registry 加进 components.json。 如何安装
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.
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 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. |
CLI 会复制进你项目的文件。
正在加载源码