Pop-up book

An open book seen from above. Hover, focus or tap and the paper scenery stands up one cut-out at a time, then folds flat again.

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

PopUpBook3D props

PropTypeDefaultDescription
pageWidthnumber210Width of one page 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