Skip to content
 
 

Repository files navigation

Ratel Web

This is a repository for Ratel web on https://ratel.foundation

Pre-requisites

Install pnpm

Running a server

make run

Development

How to add a primitive component

This 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 installation in right side menu, and copy the pnpm command 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

About

Ratel

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages