mljr-ui · showcase

List

Styled unordered or ordered list. Divided variant adds row separators.

data list
Controls
variant
Current props
variant: ""

Usage

data.List(data.ListProps{Variant: data.ListDivided},
    data.ListItem(g.Text("First item")),
    data.ListItem(g.Text("Second item")),
    data.ListItem(g.Text("Third item")),
)

All combinations (3)

Enum controls only · bool and text use defaults

default
  • Alice MüllerEngineer
  • Bob ChenDesigner
  • Carol SinghPM
  • Dave ParkDevOps
divided
  • Alice MüllerEngineer
  • Bob ChenDesigner
  • Carol SinghPM
  • Dave ParkDevOps
ordered
  1. Alice MüllerEngineer
  2. Bob ChenDesigner
  3. Carol SinghPM
  4. Dave ParkDevOps

Props

NameTypeOptionsDefault
variantenum, divided, ordereddivided