Introduction In this article, we will walk through the process of setting up a React UI component library using Shadcn UI, Vite, Tailwind CSS, and Storybook. But before we dive into the setup process, let’s understand what these technologies are and ...
ashutoshtiwari.hashnode.dev6 min read
Hi Ashutosh Tiwari, My React vite + Tailwind+ Storybook set-up finished with this Document... Thanks... But I have a doubt...I imported my shardcn button in the button story... In storybook server the color varient are not reflected... Example: I imported primary button the button will be black right? But storybook document show the button as white without color.. but I passed the args argtypes also... Component doc shows the passing argument varient in the button... Storybook copy the storybook button component and i paste this into my project at the time the primary button black will reflects... What is the issue I had in storybook?
kiran ravi
Frontend Developer
Bro I found it... Because I not added the tailwind css and the App.css file into the preview.jsx file... I added that one .. it will works.. please update this one.. in your docs.. ☺️