DevUI icon indicating copy to clipboard operation
DevUI copied to clipboard

[FEATURE] Add Storybook for Component Playground

Open Vibhasha-5 opened this issue 1 year ago • 4 comments

Problem / Motivation

Currently, contributors cannot preview or test individual components without running the entire app. This makes development, testing, and documentation harder and slows down contributions.

Proposed Solution

Set up Storybook to provide a dedicated playground for components.

  • [ ] Install Storybook for React (Vite recommended).
  • [ ] Create .storybook/ folder with main.ts / preview.ts.
  • [ ] Add stories for 6 core components: Button, Input, Select, Dialog, Toast, Sidebar.
  • [ ] Add npm run storybook and npm run build-storybook scripts.

Acceptance Criteria

  • Storybook runs successfully with npm run storybook.
  • At least 6 core components have working stories showing default and variant states.
  • Documentation added to README for running Storybook.

Vibhasha-5 avatar Oct 06 '25 19:10 Vibhasha-5

Welcome, @Vibhasha-5! Thanks for raising the issue. Soon the maintainers/owner will review it and provide you with feedback/suggestions. Make sure to star this awesome repository and follow the account!

  • DevUI

github-actions[bot] avatar Oct 06 '25 19:10 github-actions[bot]

@fahimahammed can i go ahead with adding this to your repo?

Vibhasha-5 avatar Oct 07 '25 15:10 Vibhasha-5

@Vibhasha-5 yes, you can

fahimahammed avatar Oct 07 '25 18:10 fahimahammed

@fahimahammed thank you for assigning it to me. I have completed the task and made a PR #211, kindly check.

Vibhasha-5 avatar Oct 14 '25 18:10 Vibhasha-5