SKILL — Web UX
Pixel's web design knowledge. Web design demands responsive thinking, information density management, and navigation clarity across viewport sizes.
Responsive Design
Breakpoint Strategy
| Breakpoint |
Width |
Layout Approach |
| Mobile |
0–639px |
Single column, stacked, full-width elements |
| Tablet (sm) |
640px–767px |
Single column with more horizontal space |
| Tablet (md) |
768px–1023px |
Two column where appropriate |
| Desktop (lg) |
1024px–1279px |
Full layout, sidebar + content |
| Large Desktop (xl) |
1280px–1535px |
Full layout with comfortable spacing |
| Ultra-wide (2xl) |
1536px+ |
Constrained max-width, centered |
Responsive Rules
- Mobile-first CSS — Start with mobile layout, add complexity at larger breakpoints
- Content-driven breakpoints — Break when the content breaks, not at arbitrary widths
- Max-width containers — Content should never span full width on large screens (max 1280px–1440px)
- Fluid typography — Consider
clamp() for font sizes that scale between breakpoints
- Flexible images —
max-width: 100% and proper aspect ratios
- Test at every breakpoint — Especially the in-between sizes (900px, 1100px)
What Changes Per Breakpoint
| Element |
Mobile |
Tablet |
Desktop |
| Navigation |
Bottom tab or simplified |
Top bar, possibly collapsible |
Full top bar or sidebar |
| Grid columns |
1 |
2 |
3-4 |
| Card layout |
Stacked, full-width |
Grid |
Grid with larger cards |
| Sidebar |
Hidden or overlay |
Collapsible |
Always visible |
| Table |
Cards or horizontal scroll |
Compact table |
Full table |
| Modal |
Full-screen |
Centered dialog |
Centered dialog |
| Font sizes |
Base scale |
Slightly larger |
Full scale |
Dashboard Patterns
Dashboards are our most common web pattern. Key principles:
Dashboard Layout
┌──────────────────────────────────────────┐
│ Top Bar (logo, search, user, notifs) │
├────────┬─────────────────────────────────┤
│ │ Page Title + Actions │
│ Side ├─────────────────────────────────┤
│ bar │ │
│ │ Content Area │
│ Nav │ │
│ │ (Stats, Charts, Tables, Cards) │
│ │ │
│ │ │
├────────┴─────────────────────────────────┤
│ (Optional Footer) │
└──────────────────────────────────────────┘
Dashboard Components
- Stat cards — Key metrics at the top (4 across on desktop, 2x2 on tablet, stacked on mobile)
- Charts — Trends, comparisons, distributions (with proper labels and legends)
- Tables — Primary data display with search, filter, sort, pagination
- Activity feed — Recent events, logs, notifications
- Quick actions — Buttons for common tasks
Dashboard Rules
- Most important data first — Top-left gets the most attention
- Scannable — Users should get the overall picture in 5 seconds
- Actionable — Every data point should lead to a drill-down or action
- Real-time where possible — Stale data needs clear timestamps
- Customizable — Power users want to rearrange and filter
- Loading states for every widget — Each card/chart loads independently
Form Design
Form Layout
- Single column for simplicity (always preferred)
- Labels above inputs (not beside — better scanability)
- Group related fields with section headings
- Progressive disclosure — show fields when relevant
- Fixed-width inputs for known-length data (zip code, phone)
Form Interaction
- Inline validation on blur (not on every keystroke)
- Clear error messages below the field (not in alerts)
- Preserve form data on error (never clear the form)
- Show password requirements proactively during creation
- Auto-focus the first input on form load
Form Actions
- Primary button (Submit/Save) at bottom-right
- Secondary button (Cancel) to the left of primary
- Destructive actions (Delete) separated visually (different row or left-aligned)
- Disabled submit until required fields are valid
- Loading state on submit button during processing
Multi-Step Forms
- Progress indicator (steps or progress bar)
- Ability to go back without losing data
- Summary/review step before final submit
- Save progress if the form is long
Table Design
Table Layout
- Full-width within content area
- Sticky header on scroll
- Horizontal scroll for tables with many columns (with scroll indicator)
- Alternating row backgrounds or clear row dividers
- Row hover state for interactivity
Table Features
- Sorting — Click column header, show sort indicator (arrow)
- Filtering — Filter controls above table or in column headers
- Search — Global search with highlighted matches
- Pagination — Bottom of table, show total count, items per page selector
- Selection — Checkbox column for bulk actions
- Actions — Row actions (kebab menu or icon buttons) at end of row
Table Responsive Strategy
- Desktop: Full table
- Tablet: Hide less important columns, allow horizontal scroll
- Mobile: Convert to card layout (each row becomes a card) or prioritize key columns
Table Data Formatting
- Numbers: Right-aligned, consistent decimal places
- Dates: Consistent format, relative where appropriate ("2 hours ago")
- Status: Badge/chip with semantic color
- Currency: Right-aligned, consistent format with symbol
- Long text: Truncate with ellipsis, show full on hover/click
Landing Page Patterns
Above the Fold
- Clear headline (value proposition, not product name)
- Supporting subheadline (1-2 sentences)
- Primary CTA (one clear action)
- Hero image or visual
- No navigation clutter — minimal top bar
Page Sections
- Hero — Value prop + CTA
- Social proof — Logos, testimonials, stats
- Features/Benefits — What it does, why it matters (3-4 key features)
- How it works — Steps or process (3 steps ideal)
- Pricing — Clear comparison (if applicable)
- FAQ — Address objections
- Final CTA — Repeat the primary action
Landing Page Rules
- One page, one goal — Every element serves the conversion
- Benefits over features — "Save 10 hours/week" not "Automated scheduling"
- Visual hierarchy to CTA — The eye should flow naturally to the action
- Fast loading — Landing pages must be lightweight
- Mobile-optimized — Many users arrive on mobile
- Reduce friction — Fewer form fields = higher conversion
1---2name: web-ux3description: SKILL — Web UX4metadata:5 source: https://skillmd.com/skills/nickgallick/web-ux6---7# SKILL — Web UX89Pixel's web design knowledge. Web design demands responsive thinking, information density management, and navigation clarity across viewport sizes.1011---1213## Responsive Design1415### Breakpoint Strategy16| Breakpoint | Width | Layout Approach |17|------------|-------|-----------------|18| Mobile | 0–639px | Single column, stacked, full-width elements |19| Tablet (sm) | 640px–767px | Single column with more horizontal space |20| Tablet (md) | 768px–1023px | Two column where appropriate |21| Desktop (lg) | 1024px–1279px | Full layout, sidebar + content |22| Large Desktop (xl) | 1280px–1535px | Full layout with comfortable spacing |23| Ultra-wide (2xl) | 1536px+ | Constrained max-width, centered |2425### Responsive Rules261. **Mobile-first CSS** — Start with mobile layout, add complexity at larger breakpoints272. **Content-driven breakpoints** — Break when the content breaks, not at arbitrary widths283. **Max-width containers** — Content should never span full width on large screens (max 1280px–1440px)294. **Fluid typography** — Consider `clamp()` for font sizes that scale between breakpoints305. **Flexible images** — `max-width: 100%` and proper aspect ratios316. **Test at every breakpoint** — Especially the in-between sizes (900px, 1100px)3233### What Changes Per Breakpoint34| Element | Mobile | Tablet | Desktop |35|---------|--------|--------|---------|36| Navigation | Bottom tab or simplified | Top bar, possibly collapsible | Full top bar or sidebar |37| Grid columns | 1 | 2 | 3-4 |38| Card layout | Stacked, full-width | Grid | Grid with larger cards |39| Sidebar | Hidden or overlay | Collapsible | Always visible |40| Table | Cards or horizontal scroll | Compact table | Full table |41| Modal | Full-screen | Centered dialog | Centered dialog |42| Font sizes | Base scale | Slightly larger | Full scale |4344---4546## Dashboard Patterns4748Dashboards are our most common web pattern. Key principles:4950### Dashboard Layout51```52┌──────────────────────────────────────────┐53│ Top Bar (logo, search, user, notifs) │54├────────┬─────────────────────────────────┤55│ │ Page Title + Actions │56│ Side ├─────────────────────────────────┤57│ bar │ │58│ │ Content Area │59│ Nav │ │60│ │ (Stats, Charts, Tables, Cards) │61│ │ │62│ │ │63├────────┴─────────────────────────────────┤64│ (Optional Footer) │65└──────────────────────────────────────────┘66```6768### Dashboard Components69- **Stat cards** — Key metrics at the top (4 across on desktop, 2x2 on tablet, stacked on mobile)70- **Charts** — Trends, comparisons, distributions (with proper labels and legends)71- **Tables** — Primary data display with search, filter, sort, pagination72- **Activity feed** — Recent events, logs, notifications73- **Quick actions** — Buttons for common tasks7475### Dashboard Rules761. **Most important data first** — Top-left gets the most attention772. **Scannable** — Users should get the overall picture in 5 seconds783. **Actionable** — Every data point should lead to a drill-down or action794. **Real-time where possible** — Stale data needs clear timestamps805. **Customizable** — Power users want to rearrange and filter816. **Loading states for every widget** — Each card/chart loads independently8283---8485## Form Design8687### Form Layout88- Single column for simplicity (always preferred)89- Labels above inputs (not beside — better scanability)90- Group related fields with section headings91- Progressive disclosure — show fields when relevant92- Fixed-width inputs for known-length data (zip code, phone)9394### Form Interaction95- Inline validation on blur (not on every keystroke)96- Clear error messages below the field (not in alerts)97- Preserve form data on error (never clear the form)98- Show password requirements proactively during creation99- Auto-focus the first input on form load100101### Form Actions102- Primary button (Submit/Save) at bottom-right103- Secondary button (Cancel) to the left of primary104- Destructive actions (Delete) separated visually (different row or left-aligned)105- Disabled submit until required fields are valid106- Loading state on submit button during processing107108### Multi-Step Forms109- Progress indicator (steps or progress bar)110- Ability to go back without losing data111- Summary/review step before final submit112- Save progress if the form is long113114---115116## Table Design117118### Table Layout119- Full-width within content area120- Sticky header on scroll121- Horizontal scroll for tables with many columns (with scroll indicator)122- Alternating row backgrounds or clear row dividers123- Row hover state for interactivity124125### Table Features126- **Sorting** — Click column header, show sort indicator (arrow)127- **Filtering** — Filter controls above table or in column headers128- **Search** — Global search with highlighted matches129- **Pagination** — Bottom of table, show total count, items per page selector130- **Selection** — Checkbox column for bulk actions131- **Actions** — Row actions (kebab menu or icon buttons) at end of row132133### Table Responsive Strategy134- Desktop: Full table135- Tablet: Hide less important columns, allow horizontal scroll136- Mobile: Convert to card layout (each row becomes a card) or prioritize key columns137138### Table Data Formatting139- Numbers: Right-aligned, consistent decimal places140- Dates: Consistent format, relative where appropriate ("2 hours ago")141- Status: Badge/chip with semantic color142- Currency: Right-aligned, consistent format with symbol143- Long text: Truncate with ellipsis, show full on hover/click144145---146147## Landing Page Patterns148149### Above the Fold150- Clear headline (value proposition, not product name)151- Supporting subheadline (1-2 sentences)152- Primary CTA (one clear action)153- Hero image or visual154- No navigation clutter — minimal top bar155156### Page Sections1571. **Hero** — Value prop + CTA1582. **Social proof** — Logos, testimonials, stats1593. **Features/Benefits** — What it does, why it matters (3-4 key features)1604. **How it works** — Steps or process (3 steps ideal)1615. **Pricing** — Clear comparison (if applicable)1626. **FAQ** — Address objections1637. **Final CTA** — Repeat the primary action164165### Landing Page Rules1661. **One page, one goal** — Every element serves the conversion1672. **Benefits over features** — "Save 10 hours/week" not "Automated scheduling"1683. **Visual hierarchy to CTA** — The eye should flow naturally to the action1694. **Fast loading** — Landing pages must be lightweight1705. **Mobile-optimized** — Many users arrive on mobile1716. **Reduce friction** — Fewer form fields = higher conversion