Dev Design Library

Labeled Value

A LabeledValue displays a non-editable value with a label. It formats numbers, dates, times, and lists according to the user's locale.

Labeled Value preview
Library
React Spectrum
Framework
React
Type
component
License
Apache-2.0
Files
  • packages/@react-spectrum/s2/src/LabeledValue.tsx
  • packages/@internationalized/date/index.ts
  • packages/@react-spectrum/s2/src/style-utils.ts
  • packages/@react-spectrum/s2/src/Field.tsx
  • packages/@react-spectrum/s2/src/Form.tsx
  • packages/@react-spectrum/s2/style/index.ts
  • packages/@react-spectrum/s2/src/useDOMRef.ts
  • packages/@react-spectrum/s2/src/useSpectrumContextProps.ts
Source
https://github.com/adobe/react-spectrum

Categories

More from React Spectrum