본문으로 건너뛰기
cccskills
무료GitHub에 공개

nw-ux-web-patterns

Web UI design patterns for product owners. Load when designing web application interfaces, writing web-specific acceptance criteria, or evaluating responsive designs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Web UI Patterns

Actionable web interface patterns for requirements gathering and design review. Use when the target platform is web (browser-based applications).

Navigation Patterns

PatternWhen to UseWhen to Avoid
Top navigation bar5-7 primary sections, marketing/content sitesDeep hierarchies with 20+ sections
Side navigationComplex apps with many sections, admin dashboardsSimple sites with few pages
BreadcrumbsDeep hierarchies, e-commerce categoriesFlat site structures
Command palette (Cmd+K)Power user tools, developer-facing appsConsumer apps targeting non-technical users
Tab bar (mobile)3-5 primary destinationsMore than 5 destinations
Hamburger menuSecondary navigation, mobile space constraintsPrimary navigation users need frequently
Mega menuLarge sites with categorized contentSimple sites, mobile interfaces

Navigation must answer three questions: Where am I? Where can I go? How do I get back?

Key principles: consistent placement across all pages | highlight current location | limit primary nav to 5-7 items (Hick's Law) | provide search as alternative for content-heavy apps

Form Design

Layout

  • Labels above input fields (highest completion rates in eye-tracking studies)
  • One column layouts outperform multi-column for most forms
  • Group related fields with visual proximity and clear section headings
  • Primary action buttons left-aligned with form fields

Validation: Reward Early, Punish Late

  • Validate on blur (when user leaves field), not while typing
  • Remove error messages immediately when user corrects the field
  • Show success indicators only when helpful (e.g., password strength)
  • Validation summary at top for longer forms, plus inline errors

Error Messages Must Include

  1. What went wrong (plain language) | 2. Where the error is (highlight field) | 3. How to fix it (specific guidance, not "invalid input")

Progressive Forms

  • Split long forms across multiple steps (one-thing-per-page pattern)
  • Show progress indicators for multi-step forms
  • Allow saving progress and returning later
  • Reduce fields through smart defaults and progressive disclosure

Data Display Patterns

PatternBest ForKey Considerations
TablesStructured data with multiple attributes, comparisonSortable columns, fixed headers, responsive collapse
CardsBrowsable collections with images/summariesConsistent sizes, clear click targets, max 3-4 per row
ListsSequential items, search results, feedsClear boundaries, scannable titles, secondary info on right
DashboardsKPI monitoring, status overviewsImportant metrics top-left, max 7 widgets, allow customization

Pagination vs Infinite Scroll

  • Pagination: Goal-directed tasks (search, admin panels) -- gives position and control
  • Infinite scroll: Discovery browsing (social media, galleries) -- reduces friction

Responsive Design

Mobile-First Approach

Design mobile layout first, then enhance for larger screens. Ensures core content and functionality are prioritized.

Breakpoints (starting points)

360-480px: Mobile | 768px: Tablet | 1024-1280px: Small desktop | 1440px+: Large desktop

Key Techniques

  • Fluid typography: clamp() for smooth scaling; rem/em over px for accessible sizing
  • Container queries: Components respond to container size (not viewport), enabling reusable components
  • Responsive images: Serve appropriate sizes; use srcset and picture elements

Component Patterns

ComponentUse ForAnti-pattern
Modal dialogDecisions requiring immediate attention; blocks until resolvedInformation not requiring action; stacking modals
Toast/snackbarNon-critical confirmation ("Item saved")Critical errors or info users must not miss
Drawer/sheetSupplementary content or filters alongside main viewPrimary content or complex multi-step forms
Popover/tooltipContextual help or previews on hover/focusCritical info or complex interactions
Command paletteQuick action access via keyboardOnly navigation method (need visual alternatives)

Motion and Micro-interactions

When Motion Helps

Showing cause and effect (button press ripple) | Guiding attention to changes (new item slides in) | Providing feedback (spinners, progress bars) | Explaining spatial relationships (drawer slides from side) | Maintaining context during transitions (shared element transitions)

When Motion Distracts

Decorative animations with no function | Animations delaying task completion | Rapid/large-scale motion (respect prefers-reduced-motion) | Looping animations that cannot be paused

Duration guidelines: 100-200ms for simple state changes | 200-500ms for complex transitions | never exceed 500ms for functional animations

Design System Guidance

When to Use Existing vs Custom

SituationRecommendation
Internal tools, admin dashboardsUse existing system (Material UI, Ant Design, Radix)
Consumer product with strong brandCustom system on headless library (Radix, Headless UI)
MVP or prototypeUse existing system; customize later
Platform with strict brand guidelinesCustom system, adopt token architecture from established systems

Established systems to evaluate: Material Design (Google) | Fluent Design (Microsoft) | Carbon (IBM) | Polaris (Shopify) | Primer (GitHub) | Lightning (Salesforce)

Design Tokens

Atomic values defining visual design: colors, spacing, typography, shadows.

LevelExamplePurpose
Globalcolor-blue-500: #3B82F6Raw palette values
Semanticcolor-primary: {color-blue-500}Meaningful names
Componentbutton-bg: {color-primary}Component-specific references

Use 8px spacing grid. Use modular typography scale (1.25 or 1.333 ratio).

Web-Specific Anti-Patterns

Anti-PatternAlternative
Autoplay video with soundMute by default, user-initiated play
Full-page interstitials on mobileInline or bottom-sheet prompts
Captchas for every actionRisk-based authentication, invisible captchas
Horizontal scrolling for contentResponsive layout fitting viewport
Form validation only on submitInline validation with reward-early-punish-late
Mystery meat navigation (icons only)Label all nav items; icons supplement, not replace
Stacking modalsInline expansion or navigate to new page

Acceptance Criteria Template (Web)

Feature: [Feature Name]
  # Platform: web
  # Key heuristics: [applicable Nielsen heuristics]
  # Accessibility: WCAG 2.2 AA

  Scenario: Happy path
    Given [context]
    When [user action]
    Then [expected visible result]
    And system provides feedback within 100ms
    And the action can be undone via [mechanism]

  Scenario: Error state
    Given [context leading to error]
    When [user action that triggers error]
    Then an error message explains what happened
    And the error message suggests what to do next
    And the error is shown inline next to the relevant field

  Scenario: Empty state
    Given no [resources] exist yet
    When the user navigates to the [resource] view
    Then a helpful message explains what [resources] are
    And a clear call to action creates the first one

  Scenario: Keyboard accessibility
    Given the user navigates with keyboard only
    When they tab through the interface
    Then all interactive elements are reachable
    And focus indicators are visible

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nWave-ai/nWave6222026년 9월 16일 업데이트

Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nWave-ai/nWave6222026년 9월 16일 업데이트

Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions, traceability coverage, and walking skeleton boundary proof

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nWave-ai/nWave6222026년 9월 16일 업데이트

Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nWave-ai/nWave6222026년 9월 16일 업데이트

5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nWave-ai/nWave6222026년 9월 16일 업데이트

Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating architecture styles.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nWave-ai/nWave6222026년 9월 16일 업데이트

nWave-ai의 스킬 모두 보기

이 스킬의 문제 신고