ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β π shadcn/directory/creativetimofficial/ui/(root)/components β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Installing Creative Tim UI components is straightforward and can be done in a couple of ways. You can use the dedicated CLI command for the fastest setup, or integrate via the standard shadcn/ui CLI if you've already adopted shadcn's workflow.
<Tabs defaultValue="creative-tim"> <TabsList> <TabsTrigger value="creative-tim">Creative Tim CLI</TabsTrigger> <TabsTrigger value="shadcn">shadcn</TabsTrigger> </TabsList> <TabsContent value="creative-tim">npx @creative-tim/ui@latest add button
</TabsContent>
<TabsContent value="shadcn">
npx shadcn@latest add https://creative-tim.com/ui/r/button.json
</TabsContent>
</Tabs>
Before installing Creative Tim UI, make sure your environment meets the following requirements:
You can install Creative Tim UI components using either the @creative-tim/ui CLI or the shadcn/ui CLI. Both achieve the same result: adding the selected componentβs code and any needed dependencies to your project.
The CLI will download the component's code and integrate it into your project's directory (usually under your components folder).
After running the command, you should see a confirmation in your terminal that the files were added. You can then proceed to use the component in your code.
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ