Skip to content

Artifact

A titled panel for a generated file or document.

Installation

pnpm dlx shadcn@latest add @frontal-labs/artifact

Usage

import {
  Artifact,
  ArtifactHeader,
  ArtifactClose,
  ArtifactTitle,
  ArtifactDescription,
  ArtifactActions,
  ArtifactAction,
  ArtifactContent,
} from "@/components/artifact";

API Reference

Open the source under Manual above for the exact prop types.