Dev Design Library

Artifact

A container component for displaying generated content like code, documents, or other outputs with built-in actions.

Artifact preview
Library
AI Elements
Framework
React
Type
component
License
Apache-2.0
Install
npx ai-elements@latest add artifact
Files
  • packages/elements/src/artifact.tsx
  • packages/shadcn-ui/components/ui/button.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