Dev Design Library

Date Field

DateFields allow users to enter and edit date and time values using a keyboard. Each part of a date value is displayed in an individually editable segment.

Date Field preview
Library
React Spectrum
Framework
React
Type
component
License
Apache-2.0
Files
  • packages/@react-spectrum/s2/src/DateField.tsx
  • packages/react-aria-components/src/DateField.tsx
  • packages/@react-spectrum/s2/src/style-utils.ts
  • packages/@react-spectrum/s2/src/Field.tsx
  • packages/react-aria-components/src/Form.tsx
  • packages/@react-spectrum/s2/style/index.ts
  • packages/@react-spectrum/s2/src/useSpectrumContextProps.ts
  • packages/@react-spectrum/s2/style/runtime.ts
Source
https://github.com/adobe/react-spectrum

Categories

More from React Spectrum