- Accordion
- Alert
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendarnew
- Card
- Carousel
- Checkbox
- Chip
- Collapse
- Dialog
- Drawer
- Footer
- Gallery
- Icon Button
- Image
- Input
- List
- Mapnew
- Menu
- Navbar
- Pagination
- Popover
- Progress
- Radio
- Rating
- Select
- Sidebar
- Skeletonnew
- Slider
- Software Purchase Card
- Sonner / Toastnew
- Speed Dial
- Spinner
- Stepper
- Switch
- Table
- Tabs
- Textarea
- Timeline
- Tooltip
- Typography
- Video
Here’s how to install Creative Tim UI components in your project:
Step 1: How to install shadcn/ui
Use the official shadcn/ui guides based on your stack:
Step 2: How to install Creative Tim UI
You can add Creative Tim UI components using the CLI:
Components are available via the @creative-tim/ui command.
pnpm dlx @creative-tim/ui@latest add <component>
For example, to install a button component, you can run:
pnpm dlx @creative-tim/ui@latest add button
To install a block, simply use the same CLI and specify the block's name. For example, to install the testimonials-01 block:
pnpm dlx @creative-tim/ui@latest add testimonials-01
Installing Specific Versions
# Install the latest stable version
npx @creative-tim/ui@latest add button
# Install the beta version
npx @creative-tim/ui@beta add button
# Install a specific version
npx @creative-tim/[email protected] add buttonAlternatively, you can use the standard shadcn CLI:
pnpm dlx shadcn@latest add https://creative-tim.com/ui/r/<component>.json
Step 3: Premium Blocks Authentication
Some blocks and components are premium and require authentication. These include advanced testimonial sections, pricing tables, and specialized UI components.
Getting Your API Key
- Get a Creative Tim UI License
- Visit your Creative Tim Dashboard
- Navigate to the API Keys section
- Copy your API key (starts with
pk_live_)
Authentication Methods
Recommended for Development
Set the environment variable in your shell:
# macOS/Linux
export CREATIVE_TIM_UI_API_KEY=pk_live_your_key
# Windows (PowerShell)
$env:CREATIVE_TIM_UI_API_KEY="pk_live_your_key"Then install components normally:
pnpm dlx @creative-tim/ui@latest add testimonials-06
Or set it inline:
CREATIVE_TIM_UI_API_KEY=pk_live_your_key npx @creative-tim/ui@latest add testimonials-06CI/CD Setup
For GitHub Actions, GitLab CI, or other CI/CD systems:
GitHub Actions:
- name: Install Premium Blocks
env:
CREATIVE_TIM_UI_API_KEY: ${{ secrets.CREATIVE_TIM_UI_API_KEY }}
run: npx @creative-tim/ui@latest add testimonials-06GitLab CI:
install:
script:
- export CREATIVE_TIM_UI_API_KEY=$CREATIVE_TIM_UI_API_KEY
- npx @creative-tim/ui@latest add testimonials-06Premium vs Free Components
| Type | Authentication | Examples |
|---|---|---|
| Free Components | Not required | button, card, avatar, testimonials-01 |
| Premium Blocks | Required | testimonials-06, pricing-05, hero-07 |
Security Note: Never commit your API key directly in components.json.
Always use environment variables!