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/ux-progressive-disclosure.md
1---2title: Show What Matters Now, Reveal Complexity Later3impact: HIGH4tags: ux, progressive-disclosure, complexity5---67## Show What Matters Now, Reveal Complexity Later89Don't overwhelm users with everything at once. Reveal complexity incrementally as needed.1011**Incorrect (all controls visible):**1213```tsx14function Editor() {15return (16<div>17<BasicTools />18<AdvancedTools />19<ExpertTools />20<DebugTools />21</div>22);23}24```2526**Correct (progressive disclosure):**2728```tsx29function Editor() {30const [showAdvanced, setShowAdvanced] = useState(false);31return (32<div>33<BasicTools />34{showAdvanced && <AdvancedTools />}35<button onClick={() => setShowAdvanced(!showAdvanced)}>36Toggle37</button>38</div>39);40}41```42