Inputs
Birthdate popover picker
Birthdate popover picker: A labeled button that opens a floating calendar with month and year dropdowns for quickly reaching a birth year, closing itself the moment a day is picked.
Using Birthdate popover picker
Birthdate 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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accent | color | #38BDF8 | No additional limit in the metadata. |
label | text | Date of birth | Up to 40 characters |
placeholder | text | Select date | Up to 30 characters |
Which frameworks are available for Birthdate popover picker?
Birthdate 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 Birthdate popover picker depend on?
The React metadata lists these npm dependencies beyond React: motion, radix-ui, clsx.
What accessibility details are visible in Birthdate popover picker?
The React source for Birthdate popover picker includes: native elements (button, select); attributes and handlers (aria-current, aria-hidden, aria-label, aria-labelledby, aria-selected, onKeyDown, tabIndex); explicit roles (dialog, grid, gridcell, row); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Birthdate popover picker handle reduced motion?
Birthdate 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.