This library is still in development and is available only for internal usage at VTEX.
Skip to main content

List

Version: 0.131.0

List

<List> renders a <ul> element by default with reset styles.

Import

import { List, ListProps } from '@vtex/admin-ui'

Behavior

Loading...

Variation

Ordered

Loading...

Customization

You can use the csx property to handle different styles.

Example

Loading...

Props

List

Besides the props listed bellow, you can use all the props accepted by the ul JSX element.

NameTypeDescriptionRequiredDefault
styleListStyleTypeList style🚫disc
csxStylePropDefines component styles🚫{}

List.Item

Besides the props listed bellow, you can use all the props accepted by the li JSX element.

NameTypeDescriptionRequiredDefault
csxStylePropDefines component styles🚫{}