Dev Design Library

Web Preview

A composable component for previewing the result of a generated UI, with support for live examples and code display.

Web Preview preview
Library
AI Elements
Framework
React
Type
component
License
Apache-2.0
Install
npx ai-elements@latest add web-preview
Files
  • packages/elements/src/web-preview.tsx
  • packages/shadcn-ui/components/ui/button.tsx
  • packages/shadcn-ui/components/ui/collapsible.tsx
  • packages/shadcn-ui/components/ui/input.tsx
  • packages/shadcn-ui/components/ui/tooltip.tsx
  • packages/shadcn-ui/lib/utils.ts
Source
https://github.com/vercel/ai-elements

Categories

More from AI Elements