This is a repository for Ratel web on https://ratel.foundation
- Refer to pnpm official documentation.
make runThis repository is based on shadcn which utilizes tailwindcss.
Basically, Ratel web is using customized shadcn components. you can check the shadcn config of us in the components.json. All shadcn components generated by shadcn CLI are placed in src/components/ui
So, we recommend to use customized components generated by shadcn CLI if absent.
- First of all, please check if there is a customized component in src/components/ui. Then you need a new primitive component, find a component in shadcn documentation.
- Then select a component you want to use.
- You can check the
installationin right side menu, and copy thepnpmcommand as below. - Finally, please customize the component as Figma.
- If you don't have access permission to the Figma, please request to @hackartists.
pnpm dlx shadcn@latest add accordion