Skip to content

lidge-jun/codexclaw / plugins/codexclaw/skills/dev-uiux-design

cxc-dev-uiux-design

Verified

Use for UI/UX and brand direction. Triggers: make it look good, onboarding, empty state, error state, favicon, logo, design system, 깔끔하게, 모던하게, 감성적으로.

references/responsive-nav.md

View on GitHub
## 1. Responsive Strategy

### Canonical Breakpoint Tiers

See `dev-frontend/references/core/responsive-viewport.md` for the canonical T1–T5+ breakpoint table, page containment rules, container query patterns, and split-screen guidance. All responsive references share that single source of truth.

### Mobile-First vs Desktop-First

| Choose Mobile-First When | Choose Desktop-First When |
|--------------------------|--------------------------|
| Consumer / public-facing product | Internal tool / admin panel |
| Content consumption primary use | Data-dense productivity tool |
| New project (progressive enhancement) | Existing desktop app adding mobile |

### Container Queries & Split-Screen

See `dev-frontend/references/core/responsive-viewport.md` for canonical container query examples, `@container` vs `@media` decision guide, and split-screen/half-window rules. Nav-specific guidance below.

For navigation components, prefer `@container` so the same nav adapts in a sidebar, modal, or full-width header without viewport-dependent media queries.

### Responsive Navigation by Density Profile

| Density | Desktop Navigation | Mobile Navigation |
|---------|-------------------|-------------------|
| D1–D3 (campaign/consumer) | Horizontal top nav | Hamburger menu |
| D4–D6 (SaaS/productivity) | Collapsible sidebar (256px→64px) | Bottom tab bar (4–5 items) |
| D7–D8 (ops/developer) | Fixed sidebar + top breadcrumb | Sidebar stays, no collapse |

---

## 2. Navigation & Information Architecture

### Sidebar
- Expanded: 256px fixed width. Collapsed: 64px (icons only).
- Item height: 36px. Horizontal padding: 12px.
- Active state: 8% primary color background + 3px left accent border.
- Transition: 200ms ease-in-out.
- Group sections with subtle separators and 10px uppercase section labels.

### Tab Bar (Bottom Navigation — Mobile)
- Maximum 5 items. Active item has filled icon + label. Inactive: outline icon only.
- Safe area padding for notch/home-indicator devices.
- Center the primary action if it has elevated importance (FAB pattern).

### Command Palette (Cmd+K)
- Centered modal at 20% from top, max-width 600px.
- Instant search with fuzzy matching.
- Category grouping (Actions, Pages, Settings).
- Recent items shown on empty query.
- Keyboard navigation: arrow keys + Enter.

### Breadcrumbs
- Use for hierarchical navigation deeper than 2 levels.
- Show abbreviated path on mobile (... > Parent > Current).
- Clickable segments except the current page.
- Separator: `/` or `>` — pick one and be consistent.

### By Product Surface

| Surface | Primary Nav | Secondary Nav | Search |
|---------|-------------|---------------|--------|
| Landing/marketing | Horizontal top nav | Footer links | Not needed |
| Consumer app | Bottom tab bar (mobile), sidebar (desktop) | In-context navigation | Optional |
| SaaS/productivity | Collapsible sidebar | Breadcrumbs + tabs | Command palette |
| Dashboard/ops | Fixed sidebar | Tab groups per section | Always visible search bar |
| Developer tool | Sidebar + command palette | Breadcrumbs | Prominent Cmd+K |
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 197kUpdated Claude CodeCodexVerifiedInstall