🍙 Onigiri

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

Docs draft

HeroCarousel

When to use it

useThe page-top billboard: full-bleed key art, logo, meta, description, CTAs, slide tabs.
avoidAnything below the fold — rails of cards are Carousel. carousel Carousel.

Anatomy

artFull-bleed image with a start-edge legibility gradient (rgb scrim, not a token — it grades to transparent over art).

logo slotTitle-art image; a text title is the fallback for Type=Other content.

meta + descriptioncaption in text.secondary; body-sm in text.primary for legibility on art. Rating chips compose Tag / future RatingMark.

actions slotDefault: Button primary + a 44px accent-outline watchlist circle (inline CR bookmark glyph).

tabs.CarouselTab bars; the active bar's autoplay progress fill is a code animation.

arrows.CarouselArrow Hero style: bare 32px chevrons that gain a plate on hover.

Design specifications

aspect2:1 (breakpoint crops are code's job)
content-gapspace.16
tab48×4, color.text.primary (rest at 40% opacity)
metatype.caption in color.text.secondary
descriptiontype.body-sm in color.text.primary

Accessibility

Tabreaches CTAs, slide tabs, and arrows in order

role=group + aria-roledescription=carousel; slide tabs are a tablist with per-slide labels; the logo wrapper carries role=img named by the series title. RTL comes from logical properties, not the old Orientation variants.