Default
A name and its pen tail.
A name signed in the script font with the pen's flourish under it: a swoosh with a loop that flicks up past the last letter. The name is ordinary text; the flourish is a drawing that can write itself on.
npx shadcn@latest add @wobko/signatureFirst time here? Add the registry to components.json first. How to install
A name and its pen tail.
A swoosh, an underline, none; three sizes; blue, ink and red pens. A signature keeps its own size in a row or a grid, so names of different sizes sit on one baseline with `self-baseline`.
Sign it: the name is written left to right, then the flourish follows the pen.
An inline-block <span> holding the name (in `data-slot="signature-name"`) and the aria-hidden flourish. Size the name with `size` or any text class.
| Prop | Type | Default | Description |
|---|---|---|---|
| flourish | "swoosh" | "underline" | "none" | "swoosh" | The pen's tail: a swoosh with a loop and a crossing stroke, a flourished underline, or nothing. |
| size | "sm" | "md" | "lg" | "md" | The name at 28, 44 or 64 px. Override with a text-* class. |
| tone | "blue" | "ink" | "red" | "green" | "pencil" | "marker" | "orange" | "blue" | The pen of the flourish (and the color of the name for blue and ink). |
| weight | "fine" | "regular" | "brush" | "regular" | Fine-liner, felt tip or brush. |
| animate | boolean | false | Sign it in the first time it scrolls into view: the name is written left to right, then the flourish. |
| show | boolean | true | Show or hide the flourish (the name always stays). |
| delay | number | - | Milliseconds before signing starts. |
| seed | string | number | - | Pins the hand. |
The files the CLI copies into your project.
Loading the source