Webapp Design Principles
Description
Apply senior-level UI/UX design principles when building or critiquing web pages and components. Use this skill whenever building landing pages, dashboards, forms, login screens, navigation, cards, data tables, modals, charts, empty states, or any web UI — even if the user doesn’t explicitly ask…
What Claude Learns
- → Tech stack
- → How to use this skill
- → Quick diagnostic checklist
- → The single most important principle
Installation
1. Visit the GitHub repository: https://github.com/BernardSapida/havenph
2. Copy the SKILL.md file contents
3. Save to ~/.claude/commands/skill-name.md
4. Restart Claude Code to load the new skill
Stack & Dependencies
This skill is optimized for:
**Tailwind v4** — CSS-first config via `@theme {}`
all utility classes available
**HeroUI v3** — built on React Aria + Framer Motion; always prefer HeroUI components over custom implementations
**Framer Motion** — animation library
used internally by HeroUI and available for custom animations
Read the relevant reference file(s) for the task at hand. These files use lazy loading —
only read what applies to the current task
not all 15 upfront. If a reference file does
not exist in the repo yet
apply the principles from this file directly and proceed.
| File | Covers |
|------|--------|
| `references/webdesign/layout-composition.md` | Focal point
white space
visual hierarchy
rule of thirds |
| `references/webdesign/color-system.md` | Full color palette building
60-30-10
shade scales
HSL/HSB/OKLCH
neutrals |
| `references/webdesign/color-usage.md` | CTA discipline
system colors
neutral balance
dark mode
shadows
element states |
| `references/webdesign/typography.md` | Font scale
line height
letter spacing
alignment
text width
HSL lightness for type |
| `references/webdesign/spacing.md` | Outside-in method
8px grid
relationship multiplier
CSS implementation |
| `references/webdesign/dashboard.md` | Sidebar
layout
the 4 components
modals/popovers/toasts
charts
micro-interactions |
| `references/webdesign/ux-patterns.md` | Interaction cost
thumb zone
empty states
selection vs input
recognition over recall |
| `references/webdesign/polish.md` | Kerning on large text
nested radius
card layout
removing lines
background color tricks |
| `references/webdesign/junior-vs-senior.md` | Before/after code patterns for login screens
dashboards
complex apps |
| `references/webdesign/responsive.md` | Tailwind v4 breakpoints
mobile-first patterns
responsive typography and spacing |
| `references/webdesign/components.md` | HeroUI v3 component usage: buttons
forms
nav
modals
tables
toasts
skeletons |
| `references/webdesign/accessibility.md` | WCAG contrast
focus states
semantic HTML
ARIA
keyboard nav
color-blind safe design |
| `references/webdesign/animation.md` | Duration guidelines
easing
Tailwind transitions
Framer Motion
optimistic UI
reduced motion |
| `references/webdesign/landing-page.md` | Full landing page structure
hero anatomy
features/benefits
FAQ
CTA sections
copywriting rules |
| `references/webdesign/theming-setup.md` | Tailwind v4 + HeroUI v3 project setup
CSS @theme config
dark mode
semantic tokens
typography |
---
Frequently Asked Questions
Is Webapp Design Principles free to use?
Yes u2014 Webapp Design Principles is free. Install it directly with one command (`npx mkt-skills install webapp-design-principles`) or download the SKILL.md file and drop it into your `~/.claude/skills/` directory. No account, no sign-up, no license fee.