Adaptive Date Input
- from @tealmac
A date input that uses the phone's native date picker on touch devices and the segmented date field with a calendar on desktop, with one ISO value. Use this when the same form runs on phones and desktops and each should get the date control it is best at.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @tealmac/adaptive-date-inputRegistry dependencies2
- @tealmac/date-field
- @tealmac/date-time-core
Packages0
No npm packages are installed with it.
