Wix Design System component reference. Use when building UI with @wix/design-system, choosing components, or checking props and examples. Triggers on "what component", "how do I make", "WDS", "show me props", component names like Button, Card, Modal, Box, Text, or when importing from @wix/design-system or @wix/wix-ui-icons-common. Also use when looking up spacing tokens (SP1-SP6) or icon names.
Docs path: node_modules/@wix/design-system/dist/docs/
Files are 200-900+ lines. Follow the staged discovery flow below.
Goal: Search for component by feature/keyword
Grep: "table" in components.md
Grep: "form\|input\|validation" in components.md
Grep: "modal\|dialog\|popup" in components.md
Output: Component name + description + do/don'ts
Next: Go to Stage 2 with component name
Goal: Get props AND discover available examples
# 2a. Get props (small files OK to read, large files grep)
Read: components/ButtonProps.md # OK if <100 lines
Grep: "### disabled" in components/BoxProps.md -A 3 # Box is huge
# 2b. List available examples (ALWAYS grep, never read)
Grep: "^### " in components/ButtonExamples.md -n
Output from 2b: