Cards bundle spacing, border, shadow, and radius utilities into a repeatable visual language:
rounded-xl border border-slate-200 bg-white p-6 shadow-sm ring-1 ring-slate-900/5
Dark mode surfaces
Layer dark:bg-slate-900 dark:border-slate-700 dark:text-slate-100 when darkMode: 'class' is configured. Surfaces should lift from the page background in both themes.
Self-check
- List four utilities that define a neutral card surface.
- What config enables class-based dark mode?