shadcnai
v0.0.3
Published
CLI tool for generating beautiful shadcn/ui themes using AI
Maintainers
Readme
shadcnai
A CLI tool for generating beautiful shadcn/ui themes using using natural language descriptions.
Quick Start
# Set your API key (Google AI is default)
export GOOGLE_GENERATIVE_AI_API_KEY=your-google-ai-key
# Generate a theme
npx shadcnai theme "neo brutalism theme with pink sunset vibes"More Usage Examples
# Generate a dark purple theme
npx shadcnai theme "dark theme with purple accents"
# Use OpenAI models
export OPENAI_API_KEY=your-openai-key
npx shadcnai theme "ocean sunset colors" --model gpt-4.1
# Use Anthropic Claude
export ANTHROPIC_API_KEY=your-anthropic-key
npx shadcnai theme "clean matrix movie style" --model claude-3-5-sonnet-20241022
# Use xAI Grok
export XAI_API_KEY=your-xai-key
npx shadcnai theme "cyberpunk neon theme" --model grok-beta
# Control creativity with temperature (0.0-2.0)
npx shadcnai theme "elegant theme" --temperature 0.3 # More focused/consistent
npx shadcnai theme "wild creative theme" --temperature 1.5 # More creative/diverse
# Generate and save without auto-import
npx shadcnai theme "minimalist design" --no-importSupported Models
Google AI (Default)
gemini-1.5-flash(default)gemini-2.0-flash-expgemini-1.5-pro
OpenAI
gpt-4.1gpt-4.1-minigpt-4ogpt-4o-mini
Anthropic
claude-3-5-sonnet-20241022claude-3-5-sonnet-20240620claude-3-5-haiku-20241022claude-3-sonnet-20240229claude-3-haiku-20240307
xAI
grok-betagrok-2-1212grok-2-vision-1212
DeepSeek
deepseek-chatdeepseek-reasoner
Mistral
mistral-large-latestmistral-small-latestpixtral-large-latest
Cerebras
llama3.1-8bllama3.1-70bllama3.3-70b
want more models? - create a github issue
Package
packages/shadcnai/- The main CLI package with full documentation
