Develop ultra fast with Prismane 🎉

List API

Learn about the List component's props and CSS classes.

Import

import {
  ListProps,
  ListUnorderedProps,
  ListOrderedProps,
  ListIconProps,
  ListItemProps,
} from "@prismane/core";

Props

List

List extends Flex component's props.

List.Unordered

List.Unordered extends List component's props.

List.Ordered

List.Ordered extends List component's props.

List.Icon

List.Icon extends Icon component's props.

List.Item

List.Item extends Flex component's props.

CSS

List

List extends Flex component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneList-rootThe container of the link component.

List.Unordered

List.Unordered extends List component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneListUnordered-rootThe container of the link component.

List.Ordered

List.Ordered extends List component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneListOrdered-rootThe container of the link component.

List.Icon

List.Icon extends Icon component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneListIcon-rootThe container of the link component.

List.Item

List.Item extends Flex component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneListItem-rootThe container of the link component.