Component previews in the docs
Every page under Components embeds the real component with realistic props, next to the code that produces it, with a light and dark toggle:
The props behind each preview are a valid fixture. Copy them into a test or a static JSON file to render a component before your data pipeline exists.
Run the repository Storybook
1
Clone the dashboard repository
2
Start Storybook
http://localhost:6006. Stories are discovered from src/**/*.stories.tsx.3
Build the kit
packages/flexprice-ui/dist from the umbrella entry src/exportable/index.ts, the same artefact that is published as @flexprice/ui.Add a story for a kit component
Stories for the kit belong next to the component source undersrc/pricing, src/usage, or src/credits. A minimal one:
flexprice-front with it; the contributing guide covers the frontend setup.

