# wireframe-ui - LLM Context
**Purpose:** Wireframe components for React. Skip Figma, prototype in your IDE.
**Site:** https://wireframe-ui.vercel.app
**Repo:** https://github.com/aguiarsc/wireframe-ui
## Installation
```bash
npx shadcn@latest add https://wireframe-ui.vercel.app/r/text
```
## Core Concept
**Wireframe → Production = Same structure, swap placeholders**
```tsx
// Wireframe
// Production (same layout)
{title}
```
## Key Components
### Text
```tsx
// Responsive
```
**Props:** width, size, emphasis, animation, lines, pattern
### Media
```tsx
```
**Props:** type (image|video|audio), aspectRatio (square|video|portrait)
### Card
```tsx
```
### Section
```tsx
```
**Variants:** hero, content-two-column, feature-grid
### Table
```tsx
```
### Forms
```tsx
```
## Common Patterns
**Dashboard Card:**
```tsx
```
**User Profile:**
```tsx
```
## Migration Example
**Before (Wireframe):**
```tsx
function ProductCard() {
return (
)
}
```
**After (Production):**
```tsx
function ProductCard({ product }) {
return (
{product.name}
{product.description}
)
}
```
**What changed:** Placeholders → Real data. Structure stays identical.
## Props Reference
**Emphasis:** primary (40%), secondary (30%), tertiary (20%), quaternary (10%)
**Animation:** pulse, shimmer, typing, none
**Pattern:** line, striped, dotted, crosshatch, wave
**Sizes:** xs, sm, base, lg, xl
**Widths:** xs, sm, md, lg, xl, 2xl, 3xl, full
## Responsive System
```tsx
// Old (still works)
// New (preferred)
```
**Breakpoints:** base (mobile), sm (640px), md (768px), lg (1024px), xl (1280px)
## AI Assistant Guidelines
**DO:**
- Use wireframe components for prototyping
- Keep component structure during migration
- Use semantic sub-components (Text.Heading)
- Apply responsive props
**DON'T:**
- Mix wireframe and real data
- Add `` children: `Hello` ❌
- Add onClick to skeleton buttons
- Use `` in production code
**Common Mistakes:**
```tsx
// Wrong
Hello World
// Right
```
## File Locations
```
registry/new-york/ui/ # Components
registry/new-york/lib/ # Types, utils, CSS
├── wireframe-types.ts # TypeScript types
├── wireframe-utils.ts # getResponsiveClasses()
└── wireframe.css # Custom styles
```
## TypeScript
```typescript
type WireframeSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl'
type WireframeEmphasis = 'primary' | 'secondary' | 'tertiary' | 'quaternary'
interface ResponsiveProps {
base?: T; sm?: T; md?: T; lg?: T; xl?: T
}
```
## Tech Stack
React 18+, Next.js 15+, TypeScript, Tailwind CSS, shadcn/ui compatible
---
**Philosophy:** Code-first wireframing. Fast prototyping. 85% code reuse on migration.