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

List

Version: 0.132.0

List

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

Import

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

Behavior

ReferenceError: List is not defined

Variation

Ordered

ReferenceError: List is not defined

Customization

You can use the csx property to handle different styles.

Example

ReferenceError: List is not defined

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🚫{}