Default
A loop around a word. It overshoots where it started, like a hand that did not quite stop.
A hand loop around a word or phrase: a circle that overshoots where it started, a box, or a pair of square brackets. It can be written on as it scrolls into view.
npx shadcn@latest add @wobko/circledFirst time here? Add the registry to components.json first. How to install
A loop around a word. It overshoots where it started, like a hand that did not quite stop.
A circle, a box and a pair of brackets; ink, blue, red and a brush pen.
Mark the right answer, written on with the pen. The circle is decoration: the answer is also given in words.
The loop hugs one line of writing: a short word in a display title keeps clear of the lines above and below. bleed sets how far it stands off.
A <span> (or your own element with asChild) that hosts ONE drawing for the whole phrase, in front of the words. For a phrase that wraps, prefer the box or the brackets.
| Prop | Type | Default | Description |
|---|---|---|---|
| shape | "circle" | "box" | "brackets" | "circle" | A loop that overshoots, a hand box, or square brackets on both sides. |
| tone | "ink" | "blue" | "red" | "green" | "pencil" | "marker" | "orange" | "ink" | The pen. Red felt is the teacher's circle. |
| weight | "fine" | "regular" | "brush" | "regular" | Fine-liner, felt tip or brush pen. |
| bleed | number | 2 | How many px the mark stands off the writing, on every side (0 to 16). A loop already hugs one line of text, close enough to leave the words either side alone; raise it for a roomier ring, or for a mark that shares a line with a bigger neighbor. |
| animate | boolean | false | Write the loop on, following the stroke, the first time it scrolls into view. |
| show | boolean | true | Show or hide the mark. With animate, turning it on plays the draw-on. |
| delay | number | - | Milliseconds to wait before drawing on. |
| seed | string | number | - | Pins the hand. |
| asChild | boolean | false | Render the mark on your own child element. |
The files the CLI copies into your project.
Loading the source