KQ-129 · PULL/SHELF
Pull Shelf
Books on an instrument ledge — a spine tips out of the rank as your hand arrives, neighbors parting around it, and pulling it flies the book forward to open into a two-page spread while a dashed gap holds its slot.
KQ-129 · PULL/SHELF
BENCH LIBRARY · 06 spines
PULL SHELFKQ-129
SHELVED
Pull a spine - it tips, flies forward, and opens.
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/pull-shelf
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| books | { id, title, spineWidth?, height?, hue?, spread }[] | — | Four to eight volumes; geometry seeds deterministically per id. |
| open / defaultOpen / onOpenChange | string | null / same / (id) => void | — | Controlled or uncontrolled open volume — one at a time. |