Birth Date Field
- from @tealmac
A typed date of birth that cannot be in the future or implausibly old, and that shows the age it implies so a typo in the year is caught straight away. Use this when a form asks for a date of birth and a typo in the year should be obvious.
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/birth-date-fieldRegistry dependencies2
- @tealmac/date-field
- @tealmac/date-time-core
Packages0
No npm packages are installed with it.
