storybook
Installation
SKILL.md
Storybook
Build and document UI components in isolation with interactive stories.
Instructions
- Write stories for all components - Each component should have a story file
- Use args for props - Define props through args for interactive controls
- Add decorators - Wrap stories with providers and layout wrappers
- Document with MDX - Write component documentation alongside stories
- Test interactions - Use play functions for interaction testing
Setup
# Initialize Storybook in existing project
npx storybook@latest init