algorithmic-color-pale…
Derive a full UI palette from one or two brand colours — state variants, brand-tinted greys, semantic colours. Use when building…
Cards, drawers, carousels and other patterns borrowed from the physical world. Use when designing layout patterns, gestures or navigation paradigms.
Claude Code
$ npx -y skills add dembrandt/dembrandt-skills --skill real-world-metaphors --agent claude-code
Codex
$ npx skills add dembrandt/dembrandt-skills --skill real-world-metaphors -a codex -y
Cursor
$ npx skills add dembrandt/dembrandt-skills --skill real-world-metaphors -a cursor -y
Gemini CLI
$ npx skills add dembrandt/dembrandt-skills --skill real-world-metaphors -a gemini-cli -y
GitHub Copilot
$ npx skills add dembrandt/dembrandt-skills --skill real-world-metaphors -a github-copilot -y
OpenCode
$ npx skills add dembrandt/dembrandt-skills --skill real-world-metaphors -a opencode -y
Windsurf
$ npx skills add dembrandt/dembrandt-skills --skill real-world-metaphors -a windsurf -y
name: real-world-metaphors
description: Cards, drawers, carousels and other patterns borrowed from the physical world. Use when designing layout patterns, gestures or navigation paradigms.
metadata:
priority: 6
pathPatterns:
- "components/**"
- "src/components/**"
- "**/*.tsx"
- "**/*.jsx"
- "design-system/**"
- "ui/**"
promptSignals:
phrases:
- "card"
- "carousel"
- "drawer"
- "metaphor"
- "physical"
- "skeuomorphic"
- "gesture"
- "swipe"
retrieval:
aliases:
- real world metaphors
- skeuomorphism
- physical ui patterns
- card pattern
- carousel
- drawer navigation
intents:
- make ui feel intuitive
- choose a layout pattern
- design a card component
- use familiar patterns
examples:
- should I use a card or a list here
- make this feel more natural to interact with
- which pattern fits this content bestUI patterns borrowed from the physical world reduce the learning curve because users already know how they work. A card feels like something you can pick up. A carousel feels like flipping through a stack. A drawer feels like it slides out from the side. These metaphors carry affordance — the user knows what to do before reading any instructions.
Use them deliberately, not decoratively.
A card is a bounded, self-contained unit of content — like a physical index card or a product on a shelf.
**Use when:**
**Key properties:**
A carousel borrows from the physical act of flipping through a stack or sliding items along a rail.
**Use when:**
**Caution:**
A drawer slides in from an edge, like a physical desk drawer — it brings additional context without replacing the current view.
**Use when:**
**Key properties:**
Like a physical folder that expands to reveal contents — collapses to save space, expands to show detail.
**Use when:**
Like physical divider tabs in a binder — select a tab to see its section.
**Use when:**
**Caution:** Tabs imply peer-level, equal-importance sections. Do not use tabs for hierarchical navigation (use breadcrumbs or sidebar instead).
Like a sticky note attached to an object — appears on hover, provides brief additional context.
**Use when:**
**Not a replacement for:** clear labels, inline help text, or documentation for complex features.
1. **The metaphor should match the interaction** — a card that does nothing on click creates a false affordance 2. **Don't mix metaphors** — a carousel inside a card inside a drawer creates cognitive noise 3. **Mobile borrows different metaphors than desktop** — swipe-to-dismiss, bottom sheets, and pull-to-refresh are mobile-native; forcing them onto desktop feels wrong in both directions 4. **Elevation reinforces the metaphor** — a card without shadow doesn't feel graspable; a drawer without an overlay doesn't feel layered
Enterprise UX secrets, now built into your AI agent. Your agent writes the component in seconds. It does not know the modal should be a drawer, or that the grey it picked fails contrast. These skills carry that judgment: what to do, and what breaks otherwise.
Derive a full UI palette from one or two brand colours — state variants, brand-tinted greys, semantic colours. Use when building…
Top bar, sidebar rail, app launcher, tenant and environment cue, status bar. Use when designing the persistent shell, a…
Product visuals must show the real product with real data. Use when building landing pages, hero sections, screenshots or demo…
Shape language across type, radius and icons carries brand personality. Use when starting a design system, picking icons or…
Rest, hover, active, focus, disabled and loading states, derived from the base colour. Use when designing buttons, links, inputs…
Rebuild a live web page 1:1 from measurement into Figma, Penpot or code, then verify it. Use when reproducing a page or checking…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.