Skip to content
Interactive

3DFlipBook

A book in CSS 3D. Drag a page across the spine and it follows your hand, or click a side, use the arrows or the keys. Closed, the cover sits in the middle. Links on the open pages still work.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
pagesReactNode[]โ€”Pages in reading order. The first is the cover. Two pages sit on each leaf.
rationumber0.72Width of one page divided by its height.
labelstring"Book"Read by screen readers.
pageClassNamestringpaper coloursLook of each page.
classNamestring""On the wrapper. Set the width here.