Dev Design Library

Text Field

TextFields are text inputs that allow users to input custom text entries with a keyboard. Various decorations can be displayed around the field to communicate the entry requirements.

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

Categories

More from React Spectrum