Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All components3D & interactive

Book Cover

A CSS 3D book with spine, page block and drawn cover that turns to face you and opens on its first page on hover or focus.

Preview

The Quiet Engine Ines MoreauSalt & Static Malik OseiBracken Light Priya RamanSmall Hours Tomás Vidal
1 · MorningThe studio faced east, and for an hour each day the light arrived sideways, finding the dust before it found the work.Bracken Light Priya Raman

Hover or Tab to a book on the shelf: it turns to face you and the cover opens on its first page. open holds it open.

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
titlestring—Book title: drawn on the cover, the spine and the title page.
authorstring—Author line. The book is named “Title by Author”.
tone"ink" | "paper" | "ember" | "slate""ink"Cover colour from theme tokens.
pattern"rings" | "lines" | "grid" | "sun""rings"Drawn cover motif when art is not given.
artReactNode—Custom cover art.
firstPageReactNode—Content of the first page, revealed when the cover opens. Defaults to a title page.
widthnumber132Cover width in px. Height is 1.5 times the width.
thicknessnumber20Spine thickness in px.
openboolean—Force the cover open or closed. Omit to open on hover and focus.
hrefstring—Render as a link. Without it the book is a button.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗