A clipboard
Hardboard with the grain of its fiber, a chrome spring clip over the paper, and a checklist on the ruled sheet (each row is one 28 px line).
A board with a spring clip holding a sheet of paper. The board is one drawn sheet (hardboard with the grain of its fiber, or colored plastic; a bevel lit from the upper left) that turns and casts its own shadow; the chrome clip is drawn over the paper it holds. The sheet is real DOM: put a form, a checklist or notes on it.
npx shadcn@latest add @wobko/clipboardFirst time here? Add the registry to components.json first. How to install
Hardboard with the grain of its fiber, a chrome spring clip over the paper, and a checklist on the ruled sheet (each row is one 28 px line).
The same board in hardboard and in colored plastic. The paper stays cream, so nothing on it changes contrast.
The paper is a Paper: graph rules, a strip of tape across a corner, a small extra note taped on top.
A real form on the paper: a name, a visit, a button, and the visitors so far listed as they sign. The paper is a `form` with a label.
A flex column at most 28 rem wide. It leaves 3.5 rem at the top for the clip and a 1.5 rem rim round the paper. Until it is measured (or given `size`) it wears a plain board.
| Prop | Type | Default | Description |
|---|---|---|---|
| tone | "hardboard" | Accent | "hardboard" | Hardboard, or a plastic board in tomato, tangerine, lemon, grass, teal, sky, grape or bubblegum. |
| tilt / seed / size | boolean | number / string | number / [w, h] | - | A seeded turn under 1.2 degrees (or degrees, or false); pins the hand; the box in px for server-rendered drawings. |
The sheet on the board: a Paper with ruled lines and a red margin by default, tucked 1.5 rem under the clip. Text starts 3.5 rem in, past the margin.
| Prop | Type | Default | Description |
|---|---|---|---|
| as | "div" | "section" | "article" | "form" | "fieldset" | "div" | The element. |
| stock / rules / tape / tilt / seed | Paper props | - | As on any sheet: graph paper, a torn edge, a strip of tape. |
The files the CLI copies into your project.
Loading the source