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 componentsOverlays & feedback

Popover Form

A quick-add form in a popover with focus trap, Enter to submit, inline validation, a submitting state and a success morph back on the trigger.

Preview

Reading list

  • Notes on baseline gridsexample.com/gridsDesign
  • A gentle intro to job queuesexample.com/queuesResearch

Install

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

Props

PropTypeDefaultDescription
labelstring—Trigger text. Required.
iconReactNodeplusTrigger icon.
successLabelstring"Added"The trigger morphs to this after a successful submit.
title / descriptionstring—Form heading; names the popover.
submitLabelstring"Add"Submit button text.
onSubmit(values) => void | string | Promise<void | string>—Runs once fields are valid. A promise shows “Saving…”; a string is shown as a form error.
side / alignRadix side / align"bottom" / "start"Placement around the trigger.
open / defaultOpen / onOpenChangeboolean / boolean / (open) => void— / false / —Controlled or uncontrolled.
modal / autoFocusbooleantrue / trueTrap focus and focus the first field. Turn both off for static previews.
PopoverFormField{ name, label, hint?, errorMessage?, ...input }—A labelled input wired to validation; any other named input is also submitted.

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 ↗