UI
Ui folder
We have created a separate shared package called /ui
, hence you can re-use the same components in every app without installing the library’s component everytime for every app.
This approach makes it very clean to import the components.
Comparison
Default import:
/ui
import:
Adding new components
Since we take a different approach than the default, you will have to copy the components from the Shadcn/ui’s GitHub repository and paste it in the file and export it from the index.ts file.