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

Selection Toolbar

A floating toolbar over selected prose with Improve, Shorten, Explain and Ask, number-key hints, an expanding prompt and a result preview that replaces the selection.

Preview

Select a phrase, or press Alt Space on a selection0 edits

Draft · Q4 planning note

Why we are moving the launch

We have a lot of open questions about billing, and at this point in time it is really hard to make sure every customer gets the right invoice on day one.

Result preview

Moving the date by two weeks gives the support team time to rehearse, and it means we are not shipping a very important change just before the holidays.

Install

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

Props

PropTypeDefaultDescription
childrenReactNode—The prose. Keep it static: Replace edits this DOM in place.
onAction(action, text, prompt?) => string | Promise<string>—Produces the result for improve, shorten, explain or ask.
onReplace(before: string, after: string) => void—Called after a result replaces the selection.
actions("improve" | "shorten" | "explain" | "ask")[]all fourActions in order; the order sets the number keys.
editablebooleanfalseMake the region a contenteditable editor.
labelstring"Document"Accessible name of the region.
preview{ phrase, action?, result? }—Open on a phrase with a drawn highlight (no live selection); with action and result, on the result panel.

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 ↗