Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Living wiki of UI design patterns and best practices built with Fumadocs, Next.js, and Base UI components.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
rules/physics-active-state.md
1---2title: Active State Scale Transform3impact: HIGH4impactDescription: Missing active state makes interactive elements feel unresponsive and reduces tactile feedback.5tags: physics, interaction, active-state6---78## Active State Scale Transform910Interactive elements must have active/pressed state with scale transform.1112**Incorrect (no active state):**1314```css15.button:hover { background: var(--gray-3); }16/* Missing :active state */17```1819**Correct (active state present):**2021```css22.button:active { transform: scale(0.98); }23```24