Skip to main content

List

Lists group related content. They can be ordered or unordered.

Import​

import { List } from '@faststore/ui'

Variants​

Unordered​

  • Great
  • Ok
  • Bad

Ordered​

  1. Great
  2. Ok
  3. Bad

Description​

Ok
An ok item
Good
A good item
Bad
A bad item

Props​

testIdstring
Description

ID to find this component in testing tools (e.g.: cypress, testing library, and jest).

Default value
store-list
variant"description" | "ordered" | "unordered"
Default value
unordered
asElementType<any>

Customization​

data-store-list

data-unordered

data-ordered

data-description

Didn't find your answers? Ask the Community. For documentation suggestions, submit your feedback.

JOIN THE COMMUNITY