Media & Image Hero Card

>npx @shavin/cli add card-media-hero
Architecture

@shavin/ui Spec Guide

WCAG AAA

Building Two-Tier Token Engines

Decouple theme-independent foundation palettes from role-based semantic variables for zero-breakage runtime custom property mutations.

Alex Rivera

Installation via CLI

Add this block directly into your project codebase with all dependencies and tokens resolved:

npx @shavin/cli add card-media-hero

Token & Spatial Architecture

  • 100% Token Compliant: Zero raw hex colors or arbitrary values; remaps seamlessly in dark and light modes.
  • Concentric Radius: Set radius="concentric" on nested elements to auto-resolve inner radius from the container's padding.
  • Multi-Device Responsive: Designed for Desktop (1280px+), Tablet (768px), and Mobile (375px) breakpoints.
Tags:#card#media#hero
Configure Theme
Theme
Accent Color
Custom
Gray Family
Appearance
Radius
Scaling
Panel Style
Heading Font
Body Font