Installation

Prerequisites

Before installing, ensure you have the following:

Install shadcn-svelte

First, you'll need to install and configure shadcn-svelte in your project. Follow the installation guide at shadcn-svelte documentation.

Once shadcn-svelte is set up, you can install prompt-kit components using the shadcn CLI.

Using the shadcn CLI

Installation

pnpm dlx shadcn-svelte@latest add https://svelte-ai-elements.vercel.app/r/[COMPONENT].json

Usage

After installation, import and start using the components in your project: