---
name: component-interface-design
description: Design interfaces using component libraries and design systems. Creates cohesive UIs with pre-built accessible component primitives.
license: Proprietary. LICENSE.txt has complete terms
---
# Shadcn UI Designer
## Core Design Prompt
When designing any UI, apply this philosophy:
> "Design a modern, clean UI following Shadcn principles: apply minimalism with ample white space and simple sans-serif typography; use strategic, subtle shadows for depth and hierarchy; ensure accessibility with high-contrast neutrals and scalable elements; provide beautiful defaults for buttons, cards, and forms that compose modularly; incorporate fluid, non-intrusive animations; maintain a professional palette of soft grays, whites, and minimal accents like purple; output as responsive, customizable React code with Tailwind CSS."
## Design Rules
### 1. Typography Rule
- Limit to **2-3 font weights and sizes** per screen
- Use **Inter** or system fonts for consistency
```tsx
```
### 3. Color Rule
- Base on **OKLCH** for perceptual uniformity
- Use **50-950 scale grays** (background, foreground, muted)
- **Subtle accents** at 10% opacity to avoid visual noise
```tsx
Subtle accent
```
### 4. Shadow Rule
- **3 levels only**:
- `shadow-sm`: Subtle lift (0 1px 2px) - for cards
- `shadow-md`: Medium depth (0 4px 6px) - for dropdowns
- `shadow-lg`: High elevation (0 10px 15px) - for modals
```tsx
```
### 5. Animation Rule
- **200-300ms durations**
- **ease-in-out** curves for transitions
- **Subtle feedback** only (hovers, state changes) - no decorative flourishes
```tsx