Context

The Context component provides a comprehensive view of AI model usage through a compound component system.

Installation

pnpm dlx shadcn-svelte@latest add http://sveltekit-prerender/r/context.json

Examples

Usage with AI SDK

Example of using the Context component in an AI chatbot interface, displaying input, output, and reasoning token usage based on streaming responses from an AI model.

No messages yet. Start the conversation by typing a prompt above.