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 |
---
Use Cases
Tech stack
Using This skill is optimized for: and **Tailwind v4** u2014 CSS-first config via `@theme {}`
How to use this skill
Using This skill is optimized for: and **Tailwind v4** u2014 CSS-first config via `@theme {}`
Quick diagnostic checklist
Using This skill is optimized for: and **Tailwind v4** u2014 CSS-first config via `@theme {}`
The single most important principle
Using This skill is optimized for: and **Tailwind v4** u2014 CSS-first config via `@theme {}`
Related Skills
Frequently Asked Questions
What technologies does Webapp Design Principles require?
This skill works with This skill is optimized for:, **Tailwind v4** u2014 CSS-first config via `@theme {}`, all utility classes available, **HeroUI v3** u2014 built on React Aria + Framer Motion; always prefer HeroUI components over custom implementations, **Framer Motion** u2014 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 u2014, 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 |, and ---. Make sure these are available in your project before using the skill with Claude Code.
How detailed is the Webapp Design Principles skill?
Webapp Design Principles contains 84 lines of structured instructions covering 4 key areas. It provides focused guidance including specific implementation patterns, not just surface-level tips.
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.
What will Claude Code learn from this skill?
Claude Code will gain expertise in: Tech stack; How to use this skill; Quick diagnostic checklist; and 1 more areas.