Default
A square bracket down the start side of two paragraphs.
A hand bracket down one side of a block: these paragraphs, this list, these three rows belong together. Square, curly or round, on either side, and it flips with the page direction.
npx shadcn@latest add @wobko/bracketFirst time here? Add the registry to components.json first. How to install
A square bracket down the start side of two paragraphs.
Square, curly and round; on the start side and the end side; in ink, blue and red.
A curly brace across three items with a note on the other side: the list is still a list.
A <div> that wraps the block and draws the bracket in its own inline padding (`ps-7` / `pe-7`) as an aria-hidden svg. The content is untouched.
| Prop | Type | Default | Description |
|---|---|---|---|
| kind | "square" | "curly" | "round" | "square" | A square bracket, a curly brace, or a round parenthesis. |
| side | "start" | "end" | "start" | Which side of the block. Logical: start is the right side in a right-to-left page. |
| tone | "ink" | "blue" | "red" | "green" | "pencil" | "marker" | "orange" | "ink" | The pen. |
| weight | "fine" | "regular" | "brush" | "regular" | Fine-liner, felt tip or brush. |
| inset | number | 8 | How far the spine of the bracket is from the block's edge, px. |
| animate | boolean | false | Draw the bracket on, top to bottom, the first time the block 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