Start your Storybook dev server with npm run storybook
or npx storybook dev.
Open the Storybook in your browser and navigate to the component story you want to capture.
Use the Canvas tab (not Docs) — the Canvas tab renders the component in an isolated iframe without Storybook's documentation wrapper. This gives you the cleanest HTML to import.