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

Inpaint Prompt

Image edit by region: brush or lasso a mask on a drawn scene, prompt from a bar attached to the selection, watch the region shimmer while generating, then pick and apply one of three drawn variants.

Preview

Select

Select

3 variants for “a stack of old books”

3 variants ready. Variant 1 selected.

Install

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

Props

PropTypeDefaultDescription
defaultMask("vase" | "bowl" | "window")[][]Objects pre-selected as the mask.
defaultPromptstring""Starting text in the prompt bar.
defaultStage"edit" | "variants""edit"Start on the variant picker (needs a default mask).
generateMsnumber1600Length of the simulated generation, in ms.
onGenerate(prompt: string, mask: MaskShape[]) => void—Called when Generate is pressed, with the mask strokes and polygons.
onApply(variant: number, prompt: string) => void—Called when a variant is applied (zero-based position in the picker).

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 ↗