🍙 Onigiri

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

Docs draft

UserMenu

When to use it

useThe menu under AppHeader's account trigger. Sessions: Premium (no CTA), Free Trial (14-day pill), Go Premium (trial used), Logged Out (two-line rows + CTA).
avoidAny other dropdown — this composition exists only for the account trigger. menu-item

Anatomy

.UserRowProfile header: Avatar 64 + Name prop + optional crown 'Premium Member' caption in accent.text + edit pencil. Identity is DATA — the old two-user axis died.

CTAFull-width primary Button: '14-day free trial' or 'Go Premium'. Absent for premium members.

rowsMenuItem Option instances with Leading Swap icons (Switch/Settings/Bookmark/Crunchylists/History/Notifications/Gift/Log Out) and Trailing Swap chips (NEW Tag on Switch Profile, NotificationBadge count on Notifications). Logged-out rows are two-line (Label + Subtitle Text).

surfaceMenu conventions: bg.elevated + shadow.overlay + radius.md, 388 wide.

Design specifications

width388px on color.bg.elevated + shadow.overlay
profile-nametype.title-4 in color.text.primary
membershiptype.caption in color.accent.text
separatorsMenuItem Separator rows (color.border.subtle)