Bookshelf

Books standing on a shelf. Point at one and it slides out and turns to show its cover. Each book is a real box.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Bookshelf3D props

PropTypeDefaultDescription
booksBook3DItem[]Books to place on the shelf.
depthnumber120Book depth (cover width) in px.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks