ui-patterns

Installation
SKILL.md

UI Patterns

This skill covers how to build pages and compose components for SaaS applications. It provides the structural decisions — which components to use, how to lay out pages, and how to handle every UI state. For visual styling (colors, typography, spacing systems), see the beautify skill. For user flow design, see ux-design. For accessibility requirements (semantic HTML, keyboard nav, ARIA), see ux-design/ACCESSIBILITY.md.

Reference COMPONENTS.md for the component reference. Reference LAYOUTS.md for page layout recipes.

Component Library Selection

Default: shadcn/ui + Tailwind CSS. This is the correct choice for 90% of founder-built SaaS apps. shadcn/ui provides copy-paste components built on Radix primitives — you own the code, can customize freely, and avoid dependency lock-in.

Decision framework:

Situation Choice Why
Public-facing SaaS product shadcn/ui + Tailwind Full design control, great defaults, accessible
Internal admin tool / back-office Ant Design or MUI Dense data display, built-in table/form patterns, faster to ship
Need one specific primitive (tooltip, dialog) Radix directly Skip the styling layer, use just the behavior
Existing MUI/Chakra codebase Stay with current lib Migration cost rarely worth it mid-project
React Native / mobile app React Native Paper or Tamagui Web component libs don't apply
Installs
22
GitHub Stars
256
First Seen
Mar 26, 2026