Skip to content
Agentic UI Kit
Buy

AI Context Picker

Context bar above an AI chat composer: attach specs, error screenshots and links before sending.

Full screen Try a theme

About this block

What it's for

  • Context bar above an AI chat composer: attach specs, error screenshots and links before sending.
  • Code assistant that mentions project @repos, @issues and @tables as prompt context.
  • Knowledge base copilot where the user drops PDFs or pastes documentation URLs.

For generic file upload with byte progress and resume, use Form File Upload. For editing the prompt with typed variables is needed, use Prompt Editor Variables. For global entity search outside a prompt flow, use Search Global Palette.

Includes

  • Entity mentions
  • File attach
  • Image attach
  • Url attach
  • Drag and drop
  • Paste files
  • File validation
  • Async processing with retry

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 ai-context-picker
Installs through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/ai-context-picker

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