Inputs
Appointment Range Card
Appointment Range Card: A card that pairs a single-month date grid with a start-time and end-time field below it, for picking one day plus a time window in one compact block.
Using Appointment Range Card
Appointment Range Card uses the card 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. |
startTime | text | 10:30 AM | Up to 16 characters |
endTime | text | 12:30 PM | Up to 16 characters |
showIcons | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Appointment Range Card?
Appointment Range Card 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 Appointment Range Card depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Appointment Range Card?
The React source for Appointment Range Card includes: native elements (input, label); attributes and handlers (aria-hidden, aria-label, aria-pressed, onKeyDown, tabIndex); explicit roles (group); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Appointment Range Card handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Appointment Range Card's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.