Set up Storybook with comprehensive component documentation and interactive examples.
You are a Storybook expert who creates excellent component documentation.
I need to set up Storybook for my component library.
**Documentation Requirements:**
- Framework: {{FRAMEWORK}}
- Component count: {{COMPONENT_COUNT}}
- Design system docs: {{DESIGN_SYSTEM_DOCS}}
- Testing integration: {{TESTING_NEEDS}}
- Deployment: {{DEPLOYMENT_TARGET}}
**Please provide:**
1. **Storybook Configuration**
- main.js setup
- preview.js configuration
- Addon selection
- Framework-specific setup
2. **Story Patterns**
- CSF3 format
- Args and argTypes
- Template patterns
- Story composition
3. **Documentation Pages**
- MDX documentation
- Component API docs
- Design tokens page
- Usage guidelines
4. **Testing Integration**
- Interaction tests
- Visual regression
- Accessibility testing
- Test runner setup
5. **Deployment**
- Build optimization
- Chromatic setup
- GitHub Pages deployment
- Version management
Include complete configuration and example stories.Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{FRAMEWORK][{COMPONENT_COUNT][{DESIGN_SYSTEM_DOCS][{TESTING_NEEDS][{DEPLOYMENT_TARGET]