Knowledge base of 170 UX/UI patterns for AI-assisted interface design. Works with any LLM provider — Claude, Gemini, GPT, or local models.
170 patterns covering:
- UI Design: Forms, Navigation, Data Display, Social, Commerce, Onboarding
- Persuasive Design: Cognitive Biases, Gamification, Attention & Memory, Feedback Timing, Social Influence
Each pattern includes: problem statement, when to use, solution, when to avoid, related patterns, and tags.
patterns/
ux-patterns-index.yaml # Compact index — load into context first (~740 lines)
ux-patterns.yaml # Full reference — look up specific patterns (~2670 lines)
prompts/
SYSTEM_PROMPT.md # Generic system prompt for any LLM
claude/ # Claude Code integration guide
gemini/ # Gemini integration guide
cursor/ # Cursor/Windsurf/IDE integration guide
.claude/skills/ux-patterns/ # Ready-to-use Claude Code skill
collector/ # Scraper to collect raw data from ui-patterns.com
- Include
prompts/SYSTEM_PROMPT.mdas system instructions - Load
patterns/ux-patterns-index.yamlinto context - Reference
patterns/ux-patterns.yamlfor detailed lookups
Copy .claude/skills/ux-patterns/ to your project. The skill activates automatically when you work on UI.
See cursor/README.md for .cursorrules integration.
See gemini/README.md for AI Studio and API integration.
- Match — scan the index to find patterns relevant to your task
- Recommend — read full details, check applicability and constraints
- Implement — apply pattern solutions, combine complementary patterns
Scrape raw pattern data from the source:
cd collector
uv run collect.py # Collect all 170 patterns
uv run collect.py --dry-run # Preview without fetchingSee collector/README.md for full options.
Patterns are based on well-established UX/UI concepts catalogued at ui-patterns.com, described in our own words.
MIT