# Mobile date drawer

https://fieldbook.lizardi.mx/components/mobile-date-drawer

Category: Inputs
![Still of the Mobile date drawer component, a Fieldbook UI component in Inputs.](https://fieldbook.lizardi.mx/thumbs/mobile-date-drawer.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/mobile-date-drawer-eb3d029079.mp4 (5 s, silent)

Mobile date drawer: A date field styled for touch that opens its calendar as a bottom sheet sliding up from the edge of the frame instead of a small floating popover.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

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

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| accent | color | #38BDF8 | No additional limit in the metadata. |
| label | text | Date of birth | Up to 30 characters |
| caption | text | This example works best on mobile. | Up to 60 characters |

## Usage notes

Mobile date drawer uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Mobile date drawer?

Mobile date drawer 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 Mobile date drawer depend on?

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

### What accessibility details are visible in Mobile date drawer?

The React source for Mobile date drawer includes: native elements (button); attributes and handlers (aria-current, aria-expanded, aria-haspopup, aria-hidden, aria-label, aria-live, aria-modal, aria-selected); explicit roles (dialog, grid, gridcell, row). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Mobile date drawer handle reduced motion?

Mobile date drawer reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0 : 0.22; spring: reduced ? \{ duration: 0 \} : \{ type: "spring" as const, stiffness: 340, damping: 34, mass: 0.9 \}. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "mobile-date-drawer",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Appointment Range Card](https://fieldbook.lizardi.mx/components/appointment-range-card)
- [Birthdate popover picker](https://fieldbook.lizardi.mx/components/birthdate-popover-picker)
- [Multi-Date Picker](https://fieldbook.lizardi.mx/components/multi-date-picker)
- [Natural Language Date Field](https://fieldbook.lizardi.mx/components/natural-language-date-field)
- [Stay range popover picker](https://fieldbook.lizardi.mx/components/stay-range-popover-picker)
- [Addon Input Group](https://fieldbook.lizardi.mx/components/addon-input-group)
