๐Ÿ™ Onigiri

The Crunchyroll design system, rendered live from its own tokens and components. It cannot drift from what ships.

Docs draft

Sheet

When to use it

useTouch-first previews and quick actions anchored to the bottom edge โ€” the tap equivalent of the cards' hover detail panel.
avoidCentered confirmations and forms; Sheet is for glanceable content, not decisions. modal Modal.

Anatomy

surface โ€” Bottom-anchored, full-width, bg/elevated + shadow/modal, square corners (same review flag as Modal). X alone top-right โ€” Modal's chrome.

content slot โ€” Default filling is .Media Summary โ€” the one anatomy shared by sheet content and hover panels: parent label, title, rating or date row, description, action row (play/watchlist/add accent icons) + Details link.

scrim โ€” dialog ::backdrop in color.bg.scrim.

Variants

content-state ยท default / loading โ€” Loading lives on .Media Summary as skeleton rows, not on the Sheet surface.

Design specifications

surfacecolor.bg.elevated, shadow.modal, padding space.16 (top space.8)
close44px target, color.text.primary
actions44px accent.text icon buttons; hover accent.hover
scrimcolor.bg.scrim

Accessibility

Escape โ€” closes the sheet (native dialog)

Native dialog: focus trap and inert background from the platform. Icon actions carry aria-labels; the Details link is a real Link. aria-label names the dialog.