Recipes
Composite patterns built from Lux components. Copy and adapt.
Auth card
Sign-in form with social buttons, divider, and validation. Common SaaS auth pattern.
Sign in
Welcome back. Enter your details.
or
Dashboard header
Page title with stat strip and CTA. The starting point for any SaaS dashboard page.
API Usage
LiveTotal calls
481K
↑ 14%
Avg latency
320ms
↓ 8%
Error rate
0.3%
↓ 0.1%
Settings form
Card-based settings layout with section dividers. Standard pattern for SaaS settings pages.
Model settings
Configure your default inference parameters.
Maximum tokens per response.
Features
Empty state
For when a table or list has no data yet.
No API keys yet
Create your first API key to start making requests. Keys are scoped to environments.
Destructive confirmation
Dialog pattern for irreversible actions. Always use data-variant="danger" on the primary action.
Activity feed
Timeline of events with avatar, timestamp, and badge. Common in dashboards and audit logs.