Storybook Story
Create a Storybook story for a component with interaction tests.
When to Use
- •Use this skill when adding a new component or variant.
Inputs
- •Component name and props
- •Variant list
Instructions
- •Create a
.stories.tsxfile for the component. - •Add primary and variant stories.
- •Include interaction tests if applicable.
- •Document accessibility behavior in story notes.
Output
- •Storybook story file with variants and interactions.