Agriculture Design System
Beta
Design System for the Export Service

List

Lists are vertical groupings of related items that can be displayed either in an unordered or ordered format.

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

Usage

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

For example:

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

Props

UnorderedList Props
PropTypeDescription
children?ReactNode
OrderedList Props
PropTypeDescription
children?ReactNode
ListItem Props
PropTypeDescription
children?ReactNode

Source

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