Shine Card
A diagonal gloss streak sweeps across the surface on hover — purely decorative, a finish rather than content.
View the Shine Card componentLive example
Try the interaction before reading the recipe.
real component · keyboard-safe
Studio plan
A gloss streak on hover, nothing else.
Purpose
A diagonal gloss streak sweeps across the surface on hover — purely decorative, a finish rather than content.
Good for
- a finishing touch on an already-complete card: pricing, a featured product
Avoid for
- stacking with another hover effect that also claims the surface — check
docs/card-api-conventions.md's self-check question about two hover effects on the same card fighting for the same visual space before wrapping this around, say, Glow Card
Recommended defaults
Use this as a wrapper around a finished structural card (children is any card), not as a replacement for one — it has no content shape of its own on purpose.
Accessibility
- The sweep is a decorative,
aria-hiddenlayer, positioned so it never intercepts clicks. - Same focus-visible rule as Basic Card once
onClick/hrefis present.
Performance
The sweep is motion-safe:-scoped and only ever runs on group-hover, so it's skipped entirely under prefers-reduced-motion: reduce and on any device that never hovers — the card is then identical to Basic Card, not a lesser version of Shine Card.
Composition
The family's shared shape lives in docs/card-api-conventions.md — read that once, not per card.
Source: packages/skills/components/shine-card.md