List

The lists component is used to display information. List present content in a way that makes it easy to identify a specific item in a collection. They provide a consistent styling for organizing groups of text and images.

Bullet

Set the bullet (disk) as list marker.

TypeDefault Value
booleanfalse
  • item 1
  • item 2
  • item 3
<NVList Bullet>
  <NVListItem>item 1</NVListItem>
  <NVListItem>item 2</NVListItem>
  <NVListItem>item 3</NVListItem>
</NVList>

Decimal

Set a number as list marker.

TypeDefault Value
booleanfalse
  • item 1
  • item 2
  • item 3
<NVList Decimal>
  <NVListItem>item 1</NVListItem>
  <NVListItem>item 2</NVListItem>
  <NVListItem>item 3</NVListItem>
</NVList>

Divider

Add a border divider on items of the list.

TypeDefault Value
booleanfalse
  • item 1
  • item 2
  • item 3
<NVList Divider>
  <NVListItem>item 1</NVListItem>
  <NVListItem>item 2</NVListItem>
  <NVListItem>item 3</NVListItem>
</NVList>

Gutter

Set spacing between items in a list.

TypeDefault Value
stringnull
  • item 1
  • item 2
  • item 3
<NVList Gutter="4">
  <NVListItem>item 1</NVListItem>
  <NVListItem>item 2</NVListItem>
  <NVListItem>item 3</NVListItem>
</NVList>

Pad

Set spacing within items in a list. If the value is set to 1, it will apply internally ChildPadding="1 2" to the list.

TypeDefault Value
stringnull
  • item 1
  • item 2
  • item 3
<NVList Pad="3">
  <NVListItem>item 1</NVListItem>
  <NVListItem>item 2</NVListItem>
  <NVListItem>item 3</NVListItem>
</NVList>

Select

Set the list 'selectable'.
Each items now, have now an hover effect and react to "IsSelected" boolean.

TypeDefault Value
boolfalse
  • item 1
  • item 2
  • item 3
<NVList Select>
  <NVListItem IsSelected>item 1</NVListItem>
  <NVListItem>item 2</NVListItem>
  <NVListItem>item 3</NVListItem>
</NVList>