Skip to content
Menu

Inputs

Stay range popover picker

Stay range popover picker: A trigger button that shows two dates joined by a hyphen and opens a floating range calendar for picking a start and end day, for a hotel-style stay selection.

Using Stay range popover picker

Stay range popover picker uses the inline preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
accentcolor#9BE15DNo additional limit in the metadata.
labeltextSelect your stayUp to 40 characters
nightsnumber5From 1 to 21; step 1
Which frameworks are available for Stay range popover picker?

Stay range popover picker is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Stay range popover picker depend on?

The React metadata lists these npm dependencies beyond React: motion, radix-ui, clsx.

What accessibility details are visible in Stay range popover picker?

The React source for Stay range popover picker includes: native elements (button, select); attributes and handlers (aria-current, aria-hidden, aria-label, aria-labelledby, aria-live, aria-pressed, onKeyDown, tabIndex); explicit roles (dialog, grid, gridcell, row); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Stay range popover picker handle reduced motion?

Stay range popover picker reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0.08 : 0.15; reduced ? { opacity: 0 } : { opacity: 0, scale: 0.95, y: -4 }; reduced ? { opacity: 0 } : { opacity: 0, scale: 0.95, y: -4, transition: { duration: 0.1, ease: EASE } }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components