1 min read
Variant Pattern: Simple, Predictable Styling APIs
Map variant names to style objects to keep component APIs clean and consistent.
Continue readingTopic
7 posts exploring ui patterns.
1 min read
Map variant names to style objects to keep component APIs clean and consistent.
Continue reading1 min read
Don't block the UI when some data is missing. Render available pieces gracefully.
Continue reading2 min read
Update the UI first, then confirm with the server using useOptimistic.
Continue reading1 min read
Replace blank screens with guidance that explains what to do next.
Continue reading2 min read
Improve perceived performance with skeleton UIs that match the eventual layout.
Continue reading2 min read
Use early returns for loading and error states to keep your main render clean.
Continue reading2 min read
Catch runtime errors in a subtree and render a helpful fallback instead of crashing the app.
Continue reading