motionsnack

Animated React sections that already feel finished.

Copy them into Next.js or add them with one command. Plain React and Tailwind, light and dark.

New sections, once a month

One short email when something new lands. No spam.

Library

  • Sections
  • Blocks
  • Components
  • Application UI
  • Templates

Popular

  • Hero
  • Gallery
  • Testimonials
  • Stats
  • Logos
  • FAQ

Resources

  • Installation
  • All components
  • All blocks
  • All sections
  • All application UI
  • Design system
  • Changelog
  • Pricing

Company

  • About
  • Contact
  • Terms
  • Privacy

Install

npx motionsnack add <name>Step-by-step guidehello@motionsnack.dev
Kuba Šťastný@kubastastnydev

© 2026 motionsnack. All rights reserved.

TermsPrivacy

motionsnack

motionsnack
DocsSectionsTemplatesWhat's newPricing
Get lifetime access
  1. Home
  2. Docs
  3. Components
  4. Popover
  5. Spring Popover
ComponentsBlocksSectionsApplication UI
ComponentsBlocksSectionsApplication UI

Accordion

  • Spring Accordion

Alert

  • Glow Alert

Audio

  • Podcast PlayerNew
  • Voice NoteNew
  • Voice RecorderNew

Avatar

  • Avatar Stack

Badge

  • Pulse Badge

Breadcrumb

  • Slide Breadcrumb

Button

  • Chip ButtonNew
  • Glow Border Button
  • Glow ButtonNew
  • Plain ButtonNew

Calendar

  • Month Calendar

Checkbox

  • Checkbox CardsNew
  • Checkbox GroupNew
  • Chip CheckboxNew

Cropper

  • Image Cropper

Dialog

  • Spring Dialog

Dropdown

  • Command MenuNew
  • Stagger Dropdown
  • Switcher DropdownNew

File Upload

  • Drop Zone Upload

Input

  • Addon InputNew
  • Button InputNew
  • Copy InputNew
  • Date InputNew
  • Floating Label Input
  • Joined InputsNew
  • Notched Label InputNew
  • Number StepperNew
  • OTP InputNew
  • Password InputNew
  • Phone InputNew
  • Range InputNew
  • Search InputNew
  • Tag InputNew
  • Text FieldNew

Loader

  • Curtain LoaderNew
  • Greeting LoaderNew
  • Line LoaderNew
  • Meter LoaderNew
  • Split LoaderNew

Navigation Menu

  • Mobile Tab BarNew

Notification

  • Notification BellNew
  • Toast Stack

Pagination

  • Sliding Pagination

Popover

  • Spring Popover

Radio

  • Card Radio Group
  • Payment MethodNew
  • Radio GroupNew
  • Rating RadioNew

Select

  • ComboboxNew
  • Glide Select
  • Multi SelectNew
  • Rich SelectNew
  • Select FieldNew
  • Tree SelectNew

Sidebar

  • Icon RailNew

Slider

  • Glow Slider

Stepper

  • Progress Stepper

Switch

  • Billing SwitchNew
  • Switch RowNew
  • Toggle SwitchNew

Table

  • Sortable Table

Tabs

  • Sliding Tabs

Textarea

  • Auto Grow Textarea

Toggle

  • Icon ToggleNew
  • Theme ToggleNew
  • Toggle GroupNew

Tooltip

  • Follow Tooltip

Popover

Spring Popover

A popover panel that springs out of its trigger with an arrow, on any of four sides.

npx motionsnack add spring-popover

Customize

s
<SpringPopover />

Props

17 properties

PropertyTypeDefaultDescription
action{ label: string; href?: string }{ label: 'Send invites', href: '' }Main action of the panel. With href it is a link, without one a button that closes the panel. An empty label hides it.
triggerReactNode'Open popover'Content of the trigger button.
openboolean-Open state. With a value the component is controlled.
onOpenChange(open: boolean) => void-Called with the new state whenever the panel opens or closes.
onAction() => void-Called when the main action is pressed.
classNamestring''Extra classes on the wrapper around the trigger.
triggerLabelstring'Open popover'Text of the trigger button.
titlestring'Invite your team'Heading of the panel. An empty string hides it.
descriptionstring'Share this project with up to five teammates. They can comment and edit right away.'Body text of the panel. An empty string hides it.
dismissLabelstring'Not now'Text of the quiet button that closes the panel. An empty string hides it.
side'top' | 'bottom' | 'left' | 'right''bottom'Side of the trigger the panel opens on.
align'start' | 'center' | 'end''start'Alignment of the panel along the trigger.
defaultOpenbooleanfalseOpen state at the start when the component is uncontrolled.
bouncenumber0.35Bounce of the spring the panel opens with.
durationnumber0.45Seconds the panel takes to settle.
closeOnOutsideClickbooleantrueClose when the user presses outside the popover.
closeOnEscapebooleantrueClose when the user presses Escape.

About Spring Popover

A trigger button with a panel holding a title, a short text, a main action and a quiet dismiss button. The panel grows out of the edge that faces the trigger: it scales up, fades in and overshoots slightly before it settles, with a small arrow pointing back at the button. It can open above, below, left or right of the trigger. A press outside, the Escape key or tabbing away closes it, and focus moves into the panel on open and returns to the trigger on close. Open state works controlled or uncontrolled. With reduced motion the panel only fades.

What's included

  • Spring scale and fade from the trigger side
  • Top, bottom, left and right placement with an arrow
  • Closes on outside press and Escape
  • Focus moves in and returns to the trigger
  • Title, text, action and dismiss as props
  • Controlled and uncontrolled open state
  • Light and dark, reduced motion respected
Type
Animated React popover component
Library
Components · Popover
Stack
Next.js, React, Tailwind CSS
Added
2026-09-20
Install
npx motionsnack add spring-popover