Page flip reader (Pro)
ProIncluded in $99Reading shown as reading: finished pages turn over the spine like a book.
On this page
ProAs the agent finishes each page it turns over the spine like a book, and the line beside it says which page is open.
The pages the agent opens sit in a small stack like a book lying open. As it finishes one, that page turns over the spine onto the read side, and the next one is there underneath. The line beside it says which page is open and how far along it is.
Installation
Needs chatcn Pro
This command works with a Pro license, along with every Pro component.
Or start free: sign up and get three Pro components on us, with a new one every month.
Usage
import { PageFlipReader } from "@/components/ui/chatcn/pro/page-flip-reader"
<PageFlipReader pages={pages} read={pagesRead} />Props
| Prop | Type | Notes |
|---|---|---|
pages | { id, title, site }[] | |
read | number | Pages finished; the next one is being read |
Accessibility
- The book is decorative; the line beside it is a polite live region.
Motion
- Each page turns 180 degrees over 700 ms with both faces drawn. Reduced motion: pages move without turning.