Page Turn

An open book with pages that turn like paper. Click a page, use the buttons or the arrow keys.

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

PageTurn props

PropTypeDefaultDescription
pagesReactNode[]Page contents. Pages come in pairs: front and back of each leaf.
pageWidthnumber200Width of one page in px.
pageHeightnumber280Height 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