Get Started
Installation
How to install Ein UI components and configure your project.
Prerequisites
Make sure you have the following installed
- Next.js 14+ (App Router recommended)
- Tailwind CSS v4
- Shadcn UI initialized in your project
New to Shadcn? Run npx shadcn@latest init first.
Installation Methods
Using the Shadcn CLI
The fastest way to add components to your project
1. Add a single component
npx shadcn@latest add @einui/glass-card2. Add multiple components
npx shadcn@latest add @einui/glass-button @einui/glass-input3. Using the @ein registry namespace
Add the registry to your components.json first:
components.json
{
"registries": {
"@einui": "@einui/{name}"
}
}Then install using the namespace:
npx shadcn@latest add @einui/glass-cardAll Components
CLI Commands
Copy any command to install the component
glass-card
npx shadcn@latest add @einui/glass-cardglass-button
npx shadcn@latest add @einui/glass-buttonglass-input
npx shadcn@latest add @einui/glass-inputglass-dialog
npx shadcn@latest add @einui/glass-dialogglass-tabs
npx shadcn@latest add @einui/glass-tabsglass-badge
npx shadcn@latest add @einui/glass-badgeglass-avatar
npx shadcn@latest add @einui/glass-avatarglass-progress
npx shadcn@latest add @einui/glass-progressglass-switch
npx shadcn@latest add @einui/glass-switchglass-slider
npx shadcn@latest add @einui/glass-sliderglass-tooltip
npx shadcn@latest add @einui/glass-tooltip