What does humaine do?
Two halves, and both are needed.
- Subtract the tells. A screen feels generated when every choice is the default one: an arrow on every button, a card around everything, a gradient glow behind the hero.
- Add the behavior. A clean screen that could belong to any product is the next template. Human UI follows how people actually read, group, remember and decide.
Removing tells without adding behavior gives you a polite void. Adding behavior on top of tells gives you slop with a progress bar.
The 20 laws are a menu, not a checklist. Apply the ones this screen's job needs, and be able to say why each one is there.
Strict rules
Non-negotiable on every screen, before any judgment call.
- No purple-to-indigo gradients, neon glows or default glassmorphism.
- No decorative emoji in headings, buttons, labels or empty states. One line-icon set (e.g. Lucide) or plain text.
- Don't wrap every section in a bordered card. Hierarchy comes from whitespace, alignment and type.
- Spacing from one scale only: 4, 8, 12, 16, 24, 32, 48.
- Palette: neutral surfaces, high-contrast text, one accent reserved for primary actions.
- Max 3 type sizes and 2 weights per screen. No default bolding on every label.
- One primary action per screen or section. Secondary actions go in menus or progressive disclosure.
- Reuse existing tokens and components. No one-off styles.
- Design empty, loading and long-text truncation states. No placeholder filler.
- Borders thin, subtle and functional, never decorative.
UI/UX Design Rules
- High Contrast: All text meets WCAG AA contrast. Never light gray text on bright, white or translucent backgrounds.
- No AI Clichés: No default purple/cyan gradients, neon glows, unnecessary glassmorphism, or buzzword copy ("Revolutionize", "Unleash").
- Skip Card-itis: Group with spacing and typography instead of wrapping every element in a bordered box or bento grid.
- Mobile-First & Responsive: Design for mobile viewports first. Touch targets at least 44x44px, and no horizontal overflow.
- Include All States: Style hover, focus, active, loading, empty and error states, not just the ideal layout.
- Content-Driven Layout: Copy concise and realistic, one clear primary action per screen.
Run it
- Audit. Screenshot the screen at its real size, and at the smallest size it will be seen. List every visible choice: each icon, line, badge, caption, container, word and motion. Note the ones nobody would defend.
- Decide the direction in one line. What the product does, for whom, and the one thing this screen is for. Every later choice is checked against it. If the brief is silent, assume a specific product and say so.
- Subtract. Walk references/less.md. For every element ask: what breaks if this is gone? "It adds interest" and "it fills space" don't count. Delete, then walk again, because deletions expose each other.
- Add. Walk references/add.md. Pick the laws that do real work on this screen and implement them as observable behavior, not decoration. If it still reads as a template, try the optional craft moves in references/tips.md.
- States and details. Run the table below. Missing states are the highest-signal tell, because a screenshot can't show them and a real product always has them.
- Verify. Look again at real size and at the smallest size. Then run the final audit.
States and details
Ship the states that are absent before restyling the ones that are present.
| Check | Rule |
|---|---|
| States | Empty, loading, error, success and disabled are designed, not defaulted. The unhappy ones get real words. |
| Focus | :focus-visible exists, neutral color, never removed. |
| Press | scale(0.96), never below 0.95. Hover changes named properties in ~150ms, gated to (hover: hover). |
| Hit area | 44×44 touch, 40×40 desktop. Whole surfaces are the target. |
| Fields | 16px inputs, visible labels, autocomplete, Enter submits, errors keep what was typed. |
| Numbers | tabular-nums, one number format across the screen. |
| Layout shift | Reserve space for images, async content and messages. Never default-then-correct. |
| Type | Sentence case. Two weights max, three sizes max. 45-75ch measure. text-wrap: balance on headings, pretty on body. |
| Contrast | 4.5:1 body, 3:1 large text and icons, measured over the real background. |
| Grid | Everything on a 4px scale. One row height, gap and card padding per set. |
| Grouping | Gaps inside a group are smaller than gaps between groups, so no lines are needed. |
| Radius | Inner radius = outer radius − padding, never below 4. One radius family. |
| Depth | One cue per surface. Border + shadow + ring + gradient is hedging. |
| Motion | Only where it answers a question. transform and opacity only, exits 20–30% faster, prefers-reduced-motion respected. |
Judgment calls
- Spend boldness once. One thing per screen earns emphasis. If three things stand out, none do.
- Two spacing registers minimum. One gap everywhere flattens a structure the content doesn't have.
- Real content. No invented stats, customers, testimonials or generic names (Maya, Acme, John Doe). If a claim can't be checked, cut it or ask.
- Commit in a direction. Timid middle-of-the-road choices read as generated. Pure white or a strong ground both pass; beige-by-default fails.
- Never trade accessibility for "human feel". Contrast, labels, focus, hit areas and reduced motion are not stylistic.
- The brief outranks this skill. If the user asked for a purple gradient, build a purple gradient, and build it well.
- Don't over-apply. One progress mechanic, not six. A law used where it doesn't belong is just a new tic.
Final audit
- Swap test. Replace the product name with a competitor's. If the screen still fits, the copy and layout are generic.
- Delete one more thing. If something breaks, put it back and stop.
- Name the choice a competitor couldn't paste. No answer means the screen isn't done.
- Smallest size. Is the smallest important text legible, and is the change you're proud of still visible?
- Report. Direction, what was removed, which laws were added and where, and what you couldn't check.
Borrowed and condensed from charles-unslop, charles-polish, anti-slop-ajonai and charles-unreasonable-craft in this folder. Go to those for a full redesign, award-level craft, or frame-by-frame motion work.