Default
A wavy line across the width, between two paragraphs.
A hand-drawn divider: a wave, a zig-zag, a row of loops, scallops, dashes or dots, drawn to fit whatever width or height you give it. Same semantics as a separator.
npx shadcn@latest add @wobko/squiggleFirst time here? Add the registry to components.json first. How to install
A wavy line across the width, between two paragraphs.
Wave, zig-zag, loops, scallops, dashes and dots; then the same patterns standing up.
A real separator (decorative={false}) that draws itself on when the card scrolls into view.
A <div> that fills its box with one drawn line along its long side. Full width and 16 px high by default; a vertical one is 16 px wide and as high as its container.
| Prop | Type | Default | Description |
|---|---|---|---|
| kind | "wavy" | "zigzag" | "loops" | "scallops" | "dashes" | "dots" | "wavy" | The pattern of the line. |
| orientation | "horizontal" | "vertical" | "horizontal" | Along the width or the height of the box. |
| decorative | boolean | true | true: role="none", hidden from assistive technology. false: a real separator with aria-orientation. |
| tone | "ink" | "blue" | "red" | "green" | "pencil" | "marker" | "orange" | "ink" | The pen. |
| weight | "fine" | "regular" | "brush" | "regular" | Fine-liner, felt tip or brush. |
| animate | boolean | false | Draw the line on, along its length, the first time it scrolls into view. |
| show | boolean | true | Show or hide it. |
| delay | number | - | Milliseconds before the drawing starts. |
| seed | string | number | - | Pins the hand. |
The files the CLI copies into your project.
Loading the source