Agriculture Design System
Beta
Design System for the Export Service

Divider

A horizontal rule that separates blocks of content.

View in FigmaView in StorybookView in Github
import { ... } from '@ag.ds-next/react/divider';

Usage

Divider components can be imported via the divider entrypoint in the @ag.ds-next/react package.

For example:

import { ... } from '@ag.ds-next/react/divider';

Props

Divider Props
PropTypeDescription
aria-hidden?Booleanish
If true, the element will be hidden from assistive technologies.

Source

You can view the full source code for this package on Github.