Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsAI interfaces

Context Picker

An Add context popover with Files, Pages, People and Links tabs and search; picked items become chips with token estimates and a budget meter.

Preview

Context for this question

  • q3-support-export.csv18k
  • pricing-change-memo.pdf6.2k
  • Malik Haddad4.1k
29k / 64k

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
itemsContextItem[]—{ id, kind: file | page | person | link, name, detail?, tokens }.
value / defaultValuestring[][]Selected ids; onValueChange(ids, items) reports changes.
budgetnumber200000Token budget for the meter; ember past 80%, danger past 100%.
linkTokensnumber1800Token estimate for a pasted link.
labelstring"Add context"Trigger label.
defaultOpen / sideboolean / "top" | "bottom"false / "bottom"Start open without moving focus; which side the picker opens on.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗