Desk accessories · component · 9K

Clipboard Book

A page viewer in the spirit of the Scrapbook desk accessory: one clipping per page, a "3 of 12" counter with a type badge ("Picture", "Text") and a horizontal scroll bar to leaf through the pages.

A WAI-ARIA carousel (aria-roledescription="carousel" with "slide" pages in a polite live region). ←/→ turn pages anywhere in the book; the scroll box is a slider (arrows, Page Up/Down, Home/End) that you can also click or drag. Pass items with content, or renderItem to draw pages yourself.

Install

pnpm dlx shadcn@latest add @s7ui/clipboard-book

Example

This example also uses @s7ui/bitmap @s7ui/icons @s7ui/window.

Picture1K

Info

Files:
components/retro/clipboard-book.tsx
Uses:
@s7ui/theme, @s7ui/pixel-glyphs
Packages:
—