Production-ready AI components for the modern web
36+ components with full Vercel AI SDK integration. Streaming, tools, agents, RAG, and design tools. Copy, paste, ship.
npx shadcn@latest add v0-blocksOne SDK, every provider
The Vercel AI Gateway routes to any provider. Just change the model string.
model: 'openai/gpt-5' → 'anthropic/claude-sonnet-4.5'What this actually means
Normally, each AI company has its own way of doing things — different code, different API keys, different formats. The Vercel AI Gateway is like a universal translator. You write your code ONCE, and just change one word (the model name) to switch between OpenAI, Anthropic, Google, or any other provider. If one goes down or gets expensive, swap in 30 seconds.
What you can build with this
- 1.Cost Optimizer — Route simple questions to cheap fast models, complex ones to expensive smart models
- 2.Failover System — Auto-switch to backup provider if your main one has an outage
- 3.A/B Testing AI Models — Test which AI gives better answers for your specific use case
Text Generation
Generate complete text responses with full control over parameters.
Basic Text Generation
Simple prompt-to-text generation with usage metrics
Prompt
Explain quantum computing simply
Response
Quantum computing uses quantum mechanics to process information differently than classical computers...
What this actually means
This is the most basic way to talk to AI. You send a question or instruction (the prompt), wait for the AI to think, and get back a complete answer all at once. It's like texting someone — you send the message, wait, then get their full reply. The 'usage' tells you how many tokens (roughly 4 characters = 1 token) were used, which matters for billing.
What you can build with this
- 1.Email Writer — Paste a rough draft, get back a polished professional email instantly
- 2.Code Explainer — Drop in code, get a plain-English explanation of what it does
- 3.Product Description Generator — Input product details, get SEO-optimized descriptions for your store
Real-time Streaming
Stream AI responses token by token for instant feedback.
Streaming Text Response
NEWReal-time token streaming with abort signal support
What this actually means
Instead of waiting for the whole answer (which can take 10+ seconds for long responses), streaming shows you each word as the AI thinks of it — just like watching someone type in real-time. This makes your app feel WAY faster even though the total time is the same. The 'abort signal' lets users hit a stop button if they don't like where the response is going.
What you can build with this
- 1.ChatGPT-style Interface — Build chat apps where responses appear word-by-word like the real thing
- 2.Live Writing Assistant — Show AI suggestions appearing in real-time as users type documents
- 3.Interactive Story Generator — Create choose-your-own-adventure games where the story unfolds live
Chat Interface
Build conversational AI interfaces with the useChat hook.
Chat Component
Full chat interface with message history and streaming
What this actually means
useChat is like a magic box that handles everything annoying about building a chat: it remembers all messages, streams responses, handles the loading state, manages the input field, and even lets users stop mid-response. Without it, you'd write 100+ lines of code. With it, you write 10. The hook talks to a /api/chat route you create on your server.
What you can build with this
- 1.Customer Support Bot — Build a 24/7 AI assistant that answers questions about your product
- 2.AI Tutor — Create a learning companion that explains concepts and answers follow-up questions
- 3.Interview Practice App — Build a mock interviewer that asks questions and gives feedback on answers
Structured Output
Generate type-safe JSON objects with Zod schema validation.
Object Generation
Type-safe structured data extraction with schemas
{
"title": "Product Launch",
"summary": "New feature release",
"tags": ["tech", "startup"],
"sentiment": "positive",
"confidence": 0.94
}What this actually means
Normally AI returns messy text that you have to parse yourself. generateObject() forces the AI to return perfectly structured JSON that matches YOUR exact format. The Zod schema is like a contract — you define 'I want a title (string), tags (array), and sentiment (positive/negative/neutral)' and the AI MUST follow that structure. No more regex parsing nightmares.
What you can build with this
- 1.Resume Parser — Upload a resume PDF, get back structured data: name, email, skills[], experience[]
- 2.Content Moderator — Analyze user posts and get { isSpam: boolean, toxicityScore: number, categories: [] }
- 3.Receipt Scanner — Photo of receipt → { merchant, total, items: [{ name, price }], date }
Streaming Structured Data
Stream typed JSON objects in real-time with the useObject hook.
Profile Generator
NEWReal-time streaming of typed objects
What this actually means
This is generateObject() but with live updates. Instead of waiting for the whole JSON to be ready, each field appears as soon as it's generated. Think of a form that fills itself in one field at a time while you watch. The skeleton loading states can show exactly which fields are still 'thinking'. Users see progress instead of staring at a spinner.
What you can build with this
- 1.AI Form Auto-Fill — User describes what they want, form fields populate one-by-one in real-time
- 2.Live Data Dashboard — Generate analytics summaries where each metric appears as it's calculated
- 3.Character Creator — AI generates RPG character stats, abilities, and backstory field-by-field
Text Completion
Simple text completion without chat history.
Completion Hook
NEWSingle-prompt completion with streaming
What this actually means
useCompletion is the simpler cousin of useChat. Instead of back-and-forth conversation with history, it's just: send text → get AI continuation. No memory of previous interactions. Perfect for one-shot tasks like 'finish this sentence' or 'expand this bullet point'. Lighter weight, simpler mental model, same streaming goodness.
What you can build with this
- 1.Autocomplete Textarea — User writes a sentence, clicks Tab, AI finishes their thought
- 2.Blog Outline Expander — Write a bullet point, get a full paragraph generated from it
- 3.Code Comment Generator — Paste a function, get documentation comments added automatically
Server Actions
Stream AI responses from server actions to React Server Components.
Streamable Server Action
NEWCreate streamable values in server actions
What this actually means
Server Actions are functions that run on your server but you can call them like regular functions from your React components. The magic: they can STREAM data back. So instead of creating a separate API route, you just write a function with 'use server' at the top, and call it from a button click. createStreamableValue lets you send chunks of text as they're generated, making your UI feel instant.
What you can build with this
- 1.One-Click Report Generator — Button that generates a full analysis report streaming directly into the page
- 2.Form with AI Enhancement — Submit a form, server action processes it AND adds AI-generated suggestions inline
- 3.Real-time Translation Widget — Type in one language, see the streaming translation appear below instantly
Tool Calling
Give AI the ability to execute functions and interact with external systems.
Weather Tool
NEWFunction tools with streaming state
What's the weather in Tokyo?
72F Sunny
Tokyo, Japan
What this actually means
AI can only think — it can't actually DO things like check the weather, send emails, or look up your database. Tools are like giving the AI a toolbox. You define functions it CAN call, and when the AI decides it needs real data, it calls your function, gets the result, and uses that in its response. It's the bridge between 'smart text generator' and 'actually useful assistant'.
What you can build with this
- 1.Smart Calendar Assistant — AI checks your real calendar, finds free slots, and books meetings for you
- 2.E-commerce Helper — Chatbot that can actually search your product database and check inventory
- 3.Code Deployment Bot — AI that can run tests, check CI status, and trigger deploys when you ask
Generator Tools
Use yield to stream intermediate states during tool execution.
Generator Tool
NEWYield intermediate states with async generators
What this actually means
Normal tools run, then return a result. Generator tools can send UPDATES while they're still running using 'yield'. Imagine booking a flight: instead of waiting silently, the tool can say 'Searching flights...', then 'Found 12 options...', then 'Filtering by price...', then finally return the results. Users see progress instead of staring at a spinner. It's like live sports commentary for your tool execution.
What you can build with this
- 1.Multi-step Order Tracker — Show 'Checking inventory → Processing payment → Confirmed' states in real-time
- 2.Research Assistant — Stream 'Searching Google → Found 5 sources → Reading articles → Summarizing' updates
- 3.File Upload Processor — Show 'Uploading → Scanning → Processing → Complete' with percentages at each step
Message Parts
Handle rich content with typed parts for text, tools, and files.
Parts Renderer
NEWRender different part types
What this actually means
AI responses aren't just text anymore. A single message might contain: text, a code block, an image, a tool being called, a file attachment, and a source citation. In AI SDK v5, each message has a 'parts' array where each part has a 'type' that tells you what it is. You switch on the type and render each part differently — text gets rendered as paragraphs, tools get a special UI, files show previews, etc.
What you can build with this
- 1.Rich Chat Interface — Display code with syntax highlighting, images inline, and interactive tool UIs all in one message
- 2.Document Generator — AI outputs mixed content — headings, paragraphs, charts, tables — each rendered properly
- 3.Research Assistant with Citations — AI answers with text + clickable source links that show where info came from
Human-in-the-Loop
Require user confirmation for sensitive tool actions.
Confirmation Tool
NEWTools that pause for user approval
What this actually means
Some actions are too important to let AI do automatically — like spending money, deleting data, or sending emails. Human-in-the-loop means the AI proposes an action, but PAUSES and waits for you to click 'Confirm' or 'Cancel' before actually doing it. The tool execution is split: first it plans what it wants to do, then waits for your approval, then executes if approved. Safety rails for AI.
What you can build with this
- 1.AI Shopping Assistant — AI finds the best deals but waits for your 'Buy' confirmation before charging your card
- 2.Email Composer — AI drafts and shows you the email, only sends after you review and approve
- 3.Database Admin Bot — AI suggests SQL queries for data changes, but requires DBA approval before execution
AI Agents
Build autonomous agents that execute multi-step tasks.
Task Agent
NEWMulti-step agent with tool orchestration
landing page best practices
Hero component
Features section
Generated 3 components
What this actually means
Normal AI does one thing and stops. Agents are AI that can PLAN and EXECUTE multiple steps on their own. You say 'build me a landing page' and it thinks: 'First I'll research best practices, then write the hero section, then the features...' — each step using different tools. The 'stopWhen' prevents infinite loops (so it doesn't run forever). This is how AI coding assistants actually work.
What you can build with this
- 1.Research Agent — Give it a topic, it searches multiple sources, cross-references, and writes a report
- 2.Bug Fixer — Agent that reads error logs, finds the file, understands the code, and proposes fixes
- 3.Content Pipeline — Automatically research → outline → write → edit → format blog posts end-to-end
Embeddings
Convert text to vectors for semantic search.
Text Embeddings
Generate embeddings for semantic search
Input
"The quick brown fox"
Vector
[0.023, -0.041, 0.089, 0.012, ...]1536 dimensions
What this actually means
Embeddings turn words into numbers that capture MEANING. 'Happy' and 'joyful' become similar number sequences, while 'happy' and 'refrigerator' are very different. This lets you search by concept instead of exact keywords. When someone searches 'cheap flights' your app can also find results about 'budget travel' and 'affordable airfare' because they're mathematically close. It's how AI 'understands' language.
What you can build with this
- 1.Smart Search Bar — Search your docs by meaning — 'how to cancel' finds 'subscription management' pages
- 2.Recommendation Engine — Find similar products, articles, or users based on semantic similarity
- 3.Duplicate Detector — Find near-duplicate support tickets even when worded completely differently
Retrieval-Augmented Generation
Ground AI responses with your own data.
RAG Pipeline
Vector search and generation
Query
How do I set up auth?
Retrieved
Answer
Based on the docs, set up auth by...
What this actually means
AI models only know what they were trained on (usually old data). RAG fixes this by: 1) Taking the user's question, 2) Searching YOUR database for relevant info, 3) Giving that info to the AI as context, 4) AI answers using YOUR actual data. It's like giving the AI an open-book test with your company's documentation. No hallucinations about things you never wrote.
What you can build with this
- 1.Company Knowledge Base Bot — Employees ask questions, AI answers using your actual internal docs and wikis
- 2.Legal Document Q&A — Lawyers ask about contracts, AI finds and cites the exact relevant clauses
- 3.Codebase Assistant — Devs ask 'how does auth work here?' and get answers based on your actual code
Multimodal AI
Process images, PDFs, and audio alongside text.
Vision Analysis
Analyze images with vision models
Input Types
Analysis
This image shows a modern web interface...
What this actually means
'Multimodal' means the AI can see, not just read. You can send images, screenshots, PDFs, even audio files alongside your text prompt. The AI looks at the image and can describe it, answer questions about it, or extract information. It's the same models behind 'upload a photo and ask questions' features you see in ChatGPT and Claude.
What you can build with this
- 1.Screenshot-to-Code — Upload a design screenshot, get working HTML/CSS/React code generated
- 2.Food Calorie Tracker — Snap a photo of your meal, AI estimates calories and nutritional info
- 3.Accessibility Alt-Text Generator — Bulk generate accurate image descriptions for your entire website
Image Generation
Generate images with multimodal models.
Image Generator
NEWGenerate images with Gemini 3
Generated image
"A futuristic city at sunset"
What this actually means
Some AI models can create images, not just text. You describe what you want ('a cat wearing sunglasses on a beach') and get back an actual image. The 'files' in the response contains the generated images as base64 data (basically the image encoded as text that you can convert back to an image). Different models have different art styles and capabilities.
What you can build with this
- 1.AI Art Generator — Let users type descriptions and generate unique artwork for their projects
- 2.Product Mockup Tool — Describe a product, get realistic mockups without needing a designer
- 3.Social Media Content Creator — Generate custom graphics for posts, stories, and thumbnails on demand
Middleware
Intercept and modify AI requests at the edge.
AI Middleware
Request tracking for AI routes
POST /api/ai/chata1b2c3d4...99What this actually means
Middleware is code that runs BEFORE your actual API route. Every request to /api/ai/* passes through this first. You can check if the user is logged in, add tracking headers, block certain countries, log everything — all without touching your actual AI code. It runs at the 'edge' (close to users) so it's super fast. Think of it as a bouncer checking IDs before letting people into the club.
What you can build with this
- 1.Geographic Blocking — Block AI access from certain countries for compliance or cost reasons
- 2.Request Logging — Log every AI request with timestamps, IPs, and unique IDs for debugging
- 3.A/B Testing — Route 10% of users to a new AI model, 90% to the stable one
Response Caching
Cache AI responses with Next.js 16 cache components.
Cached Completions
NEWCache AI responses with revalidation
280x faster
What this actually means
AI calls are slow (1-10 seconds) and expensive (pay per token). Caching saves the result so the SAME question doesn't hit the AI again — it just returns the saved answer instantly. 'use cache' in Next.js 16 makes this one line of code. The revalidateTag function lets you clear the cache when you want fresh answers. Perfect for content that doesn't change often.
What you can build with this
- 1.FAQ Bot — Cache answers to common questions — 99% of users ask the same 20 things
- 2.Product Descriptions — Generate once, serve from cache millions of times without re-calling AI
- 3.Daily Summary Generator — Generate report once per day, cache it, serve to all users instantly
Edge Deployment
Deploy AI to 30+ global edge regions.
Edge AI Route
Ultra-low latency with edge runtime
What this actually means
'Edge' means running your code on servers spread across the world — close to your users. A user in Tokyo hits a Tokyo server, not one in Virginia. The 'runtime = edge' flag tells Vercel to deploy this route globally. Your code can't use Node.js-specific stuff (like fs for file system), but in exchange you get crazy fast response times. The AI call still goes to OpenAI's servers, but YOUR code responds instantly.
What you can build with this
- 1.Global AI App — Serve users in 100 countries with <50ms latency to your server
- 2.Real-time AI Assist — Typing suggestions that appear instantly, not after network delay
- 3.Competitive Gaming Bot — AI opponent responses so fast they feel like local computation
Error Handling
Handle AI errors with typed error classes.
Error Boundaries
Typed error handling with retry logic
What this actually means
AI APIs fail. A lot. Rate limits (too many requests), timeouts (AI thinking too long), server errors (OpenAI is down). APICallError gives you typed errors with useful info: the status code, the message, and crucially — isRetryable (should you try again or give up?). Handle errors gracefully so users see 'Please try again' instead of a cryptic crash.
What you can build with this
- 1.Auto-Retry System — If isRetryable is true, automatically wait 2 seconds and try again (up to 3 times)
- 2.Fallback to Backup Provider — If OpenAI fails, automatically switch to Anthropic as backup
- 3.User-Friendly Error Messages — Convert technical errors to helpful messages: 'We're busy, try again in 30 seconds'
Rate Limiting
Protect AI endpoints with sliding window limits.
Rate Limiter
Redis-backed rate limiting
What this actually means
AI calls cost money. Without rate limiting, one user (or bot) could make 1000 requests and blow your budget. Rate limiting says 'each user can only make 10 requests per minute'. Upstash Redis stores the count in a super-fast database. 'Sliding window' means it's a rolling 60-second window, not fixed minutes — smoother and fairer than simple counting.
What you can build with this
- 1.Freemium Tier Control — Free users get 10 AI requests/day, paid users get unlimited
- 2.API Abuse Prevention — Stop scrapers and bots from draining your AI budget
- 3.Fair Usage Enforcement — Prevent one power user from hogging all your server resources
Authentication
Secure AI endpoints with Supabase authentication.
Protected Route
Auth-gated AI with usage tracking
John Doe
Pro Plan
What this actually means
Without auth, anyone can use your AI endpoint and you pay the bill. Authentication verifies WHO is making the request using cookies/tokens. Supabase handles the hard parts (passwords, sessions, OAuth). createServerClient reads the auth cookie, checks with Supabase if it's valid, and gives you the user object. No user? Return 401 Unauthorized. Simple but essential.
What you can build with this
- 1.SaaS AI Feature — Only paying subscribers can access the AI assistant
- 2.Personalized AI — Know the user, so AI can access their data and history
- 3.Usage-Based Billing — Track exactly how many tokens each user consumes for billing
Usage Analytics
Track tokens, latency, and costs.
Analytics Tracking
Automatic usage metrics
1.2M
Tokens
842
Requests
1.4s
Latency
What this actually means
The onFinish callback fires when the AI is completely done responding. It gives you usage stats: how many tokens were in the prompt, how many in the response. You can log this to a database, send to analytics tools, or use for billing. Tokens are how AI companies charge you, so tracking them is essential for understanding costs and preventing surprises.
What you can build with this
- 1.Cost Dashboard — See exactly how much you're spending per day, week, feature, or user
- 2.Slow Query Detector — Find prompts that take too long and optimize or cache them
- 3.Per-User Billing — Charge customers based on their actual AI usage, not flat fees
Webhooks
Trigger AI workflows from external events.
Webhook Handler
Secure webhook processing
What this actually means
Webhooks are 'reverse APIs' — instead of YOU calling someone, THEY call you when something happens. Stripe calls you when someone pays. GitHub calls you when code is pushed. You verify it's really them (using the signature/secret), then do something with AI. The HMAC signature check prevents hackers from faking webhook calls and tricking your AI into processing fake data.
What you can build with this
- 1.Auto-Summarize Documents — Google Drive webhook triggers AI summary when any file is uploaded
- 2.Smart Notifications — Slack webhook → AI analyzes message → sends alert only if it's actually important
- 3.Order Processing — Shopify order webhook triggers AI to generate personalized thank-you email
File Storage
Upload files and use them as AI context.
Upload + Analyze
NEWUpload to Blob, analyze with AI
What this actually means
Vercel Blob is simple file storage — upload images, PDFs, audio, whatever. The 'put' function uploads the file and gives you a URL. That URL can then be passed to AI for analysis. Unlike temporary URLs that expire, Blob gives you permanent storage. Perfect for when users upload files you need to reference later or process with AI.
What you can build with this
- 1.Document Analyzer — Users upload contracts, AI extracts key terms and summarizes them
- 2.Image-Based Search — Upload product photos, AI describes them for searchable text database
- 3.Audio Transcription Service — Upload podcast episodes, AI transcribes and generates show notes
Database Integration
Connect AI to your database with vector search.
Vector Search
pgvector for semantic queries
PostgreSQLWhat this actually means
Neon is serverless PostgreSQL — a real database that scales automatically. The magic is pgvector: a PostgreSQL extension that lets you store embeddings (those number arrays from earlier) and search by similarity. The '<=> ' operator finds the closest matches. So you can ask 'find documents similar to this question' and get semantically related content, even if no keywords match.
What you can build with this
- 1.Semantic Doc Search — User asks a question, database finds the most relevant docs even without keyword match
- 2.Personalized Recommendations — Store user preference embeddings, find products/content with similar vibes
- 3.Conversational Memory — Store past conversations, retrieve relevant history when topics come up again
Stripe + AI
AI-powered checkout and pricing.
AI Checkout
NEWCreate checkouts from conversation
What this actually means
Combine AI with Stripe and you get conversational commerce. User says 'I want the Pro plan and 3 API credit packs' in chat, AI understands and creates a real Stripe checkout with those exact items. The tool handles all the Stripe API complexity — creating line items, generating a checkout URL, redirecting to payment. Natural language becomes real transactions.
What you can build with this
- 1.Conversational Shopping — 'Add the blue shirt in medium' → AI adds to cart → 'checkout' → Stripe payment page
- 2.AI Pricing Advisor — AI analyzes user needs, recommends the best plan, and creates checkout in one conversation
- 3.Usage-Based Upsells — AI detects you're hitting limits, suggests upgrade, handles the entire purchase flow
Model Context Protocol
Connect to Linear, Notion, Sentry and more.
MCP Integration
NEWAuto-generate tools from MCP servers
What this actually means
MCP (Model Context Protocol) is a standard way for AI to connect to external services. Instead of writing custom code for each integration, MCP servers provide a plug-and-play interface. Connect the Linear MCP and your AI instantly gets tools like 'create_issue', 'list_issues', etc. Anthropic created the standard, and companies are building MCP servers for their products. One protocol, hundreds of integrations.
What you can build with this
- 1.AI Project Manager — 'Create a bug for the login issue' → AI creates Linear issue with proper labels and assignee
- 2.Smart Documentation Bot — AI searches and updates Notion docs based on conversation, no manual navigation
- 3.Error Resolution Assistant — AI checks Sentry for recent errors, analyzes stack traces, and suggests fixes
Vercel Workflows
Multi-step AI pipelines with durable execution.
Content Workflow
NEWMulti-step pipeline with dependencies
What this actually means
Workflows are AI pipelines that survive failures. If step 2 of 5 crashes, it restarts from step 2 — not from scratch. ctx.run() wraps each step and saves its result. 'Durable execution' means even if your server restarts mid-workflow, it picks up where it left off. Perfect for long, expensive AI operations where you can't afford to lose progress.
What you can build with this
- 1.Blog Post Factory — Research → Outline → Write Draft → Edit → Generate Images → Publish — all automated
- 2.Video Processing Pipeline — Transcribe → Summarize → Generate chapters → Create thumbnails → Upload to platform
- 3.Data Migration Assistant — Analyze old schema → Plan migration → Transform data → Validate → Deploy — with checkpoints
Computer Use
Let AI control browsers with Playwright.
Computer Tool
NEWFull browser automation with AI
What this actually means
Computer Use gives AI eyes and hands. It takes screenshots to SEE what's on screen, then clicks, types, and scrolls to INTERACT. Playwright is a browser automation library — it runs a real Chrome instance that AI controls like a human would. The AI looks at a screenshot, decides 'I need to click that button', and sends the coordinates. It can browse websites, fill forms, anything a human could do.
What you can build with this
- 1.Web Scraper on Steroids — AI navigates complex sites, handles logins, clicks through pagination, extracts data
- 2.Automated Testing — 'Test the checkout flow' → AI clicks through your app and reports bugs it finds
- 3.AI Personal Assistant — 'Book me a flight to Tokyo' → AI opens travel site, searches, selects, and books
Design System
Define design tokens for consistent AI-generated components.
Design Tokens
NEWColors, spacing, and typography
What this actually means
Design tokens are the building blocks of visual consistency — named values for colors, spacing, and typography. Instead of hardcoding '#3B82F6' everywhere, you use 'primary'. Then when you want to change your brand color, you change ONE place. AI generators can reference these tokens to create components that automatically match your brand. It's how Figma, Tailwind, and shadcn/ui work under the hood.
What you can build with this
- 1.White-Label SaaS — Swap tokens per customer — each gets their brand colors without code changes
- 2.Dark Mode Toggle — Same tokens, different values — switch themes by swapping the token file
- 3.AI Component Generator — Prompt 'create a card component' and it uses YOUR tokens, not generic colors
Property Editor
Visual editing for component properties.
Property Panel
NEWEdit component props visually
What this actually means
Property editors let non-coders tweak components without touching code. Drag a slider → padding changes → you see it instantly. It's how Figma, Webflow, and v0's Design Mode work. Under the hood, it's just React state connected to component props. The slider updates state, state updates the prop, prop updates the visual. Two-way binding between UI and code.
What you can build with this
- 1.v0-style Design Mode — Click any element, adjust padding/colors/fonts with sliders instead of typing CSS
- 2.CMS Component Builder — Marketing team edits hero sections, button colors, fonts — no developer needed
- 3.Theme Customizer — Let users tweak your app's appearance — spacing, roundness, colors — and save preferences
Layer System
Manage component hierarchy with drag-and-drop.
Layer Panel
NEWHierarchical layer management
What this actually means
Layer panels show your component tree — what's nested inside what. Like Photoshop layers but for UI components. dnd-kit handles drag-and-drop for reordering. The eye icon toggles visibility (hide without deleting), the lock prevents accidental edits. This is essential for any design tool: knowing what exists, selecting it, organizing it, and protecting important elements.
What you can build with this
- 1.Page Builder — See all sections, drag to reorder hero/features/footer, hide sections for testing
- 2.Email Template Editor — Lock header/footer, let users reorder content blocks in between
- 3.Complex Dashboard Designer — Organize 50+ widgets into groups, show/hide entire widget sets for different views
Multi-Format Export
Export to React, JSON, PNG, or GitHub.
Code Export
NEWGenerate formatted React code
What this actually means
Export turns your visual design into actual code you can use. Prettier formats it nicely. TSX for React projects, JSON for data structures, PNG for screenshots/mockups, GitHub to push directly to a repo. The key is converting the internal component structure (objects, props, children) into valid, readable, production-ready code that developers can actually use.
What you can build with this
- 1.v0-style Code Download — Design it visually, click Export, get clean React code you can drop into your project
- 2.Design Handoff — Designer creates components, exports JSON spec, developer imports into codebase
- 3.Component Library Generator — Build components visually, export to GitHub, auto-publish as npm package
Everything you need to build AI-powered applications
36+ production-ready components covering every AI SDK pattern. Server Actions, streaming, tools, agents, and more.
npx shadcn@latest add v0-blocks