Skip to content

Page Curl

A paper book: the bottom corner peels away and curls following the cursor, with a back side, shadow and curvature shine; release it past the halfway point and the page turns, otherwise it springs back.

Plan
Pro · commercial license
Dependencies
React only
Props
8 (4 adjustable)

Included in Pro and Lifetime. See pricing

2
02

Heavy pages

01

Field notebook

Notes on real paper: pull the corner and turn the page.

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
pagesReactNode[]undefinedList of pages (each element is one sheet). If omitted, the children or some sample pages are used.
childrenReactNodeundefinedEach direct child is taken as a page.
sample{ title?: string; text?: string }[]"4 sample pages"Title and text of each of the four sample pages (only visible if you omit pages and children).
paperstring"#f5efe0"Paper color.
coverstring"#1d2b38"Color of the book cover.
defaultPagenumber0Page it starts on (0-based index).
onPageChange(index: number) => voidundefinedCalled every time a page finishes turning.
autoplaybooleanfalseThe corner peels and turns the page on its own until someone touches it.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Page Curl

npx shadcn@latest add @furin-pro/page-curl

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • The send button is a sheet of paper: it folds step by step into a plane, flies off in a curve, and the button returns with a checkmark.

    Objects

  • A hanging lamp with a physics-driven bead chain: pull it to turn on the light and the whole scene switches theme.

    Objects

  • Code entry with an old rotary telephone dial: drag from the finger hole to the stop and it springs back, with clicks.

    Objects