Skip to content
Agentic UI Kit
Buy

Prompt Editor Variables

Support prompt library where each template declares tone, plan and account data and is previewed against real customers.

Full screen Try a theme

About this block

What it's for

  • Support prompt library where each template declares tone, plan and account data and is previewed against real customers.
  • Developer console for versioning system prompts with typed variables and validation before publishing them.
  • Content generator with templates parameterized by audience, length and publication date.

Includes

  • Template authoring
  • Typed variables
  • Auto declaration
  • Type validation
  • Live preview
  • Data set switching
  • Keyboard navigation
  • Copy rendered output

Works with

  • Radix UI primitives (the registry variant it ships in)
  • React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
  • Your theme tokens, in light and dark mode

Install

Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.

Agentic UI CLI
agentic-ui add prompt-editor-variables
Installs through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/prompt-editor-variables

Used in

A standalone component: drop it into any screen.

Type
Block
Variants
Radix UI
Themes
Light and dark
Widths
Preview it at desktop, tablet and mobile widths above.
Motion
Animated, with a reduced-motion fallback