Dev Design Library

Divider

Dividers bring clarity to a layout by grouping and dividing content in close proximity. They can also be used to establish rhythm and hierarchy.

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

Categories

More from React Spectrum