🍙 Onigiri

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

Docs draft

VideoPlayer

When to use it

useThe player shell: media, top controls, center touch cluster, skip-intro chip, overlay slot for gates and status.

Anatomy

mediavideo or poster still, 16:9.

controls slotPlayerControls (top, on gradient) or AdControls; hidden entirely when inactive.

skip intro.SkipIntro chip bottom-right on bg.elevated; sentence-case label (the uppercase treatment stays dead).

overlay slotPlayerGate / PlayerOverlay above a bg.scrim wash.

Design specifications

surfacecolor.ink.900 behind media
skip-chipcolor.bg.elevated + type.label, space.8/12 padding

Accessibility

The shell is a passive region; every interactive child is a labeled button. Booleans in Figma (Show Controls / Skip Intro / Center Controls) mirror runtime state.