UI Design Patterns

Button Patterns

StateVisual Indicator
DefaultBase style
HoverSlight darkening or lightening of background
Active/PressedDownward 1px transform, deeper color
FocusRing: outline 2px with offset for keyboard nav
LoadingSpinner icon, disabled click, label "Loading..."
Disabledopacity: 0.4, cursor: not-allowed

Form Design Best Practices

Navigation Patterns

PatternWhen to Use
Top Navigation Barโ‰ค7 main sections, desktop-first sites
Side NavigationMany sections, apps with deep hierarchy
Bottom Tab BarMobile apps, 3โ€“5 primary sections
Hamburger MenuMobile with many nav items (secondary)
BreadcrumbsDeep hierarchies, e-commerce categories
Mega MenuEnterprise, retail with many categories