Skip to content

List Style

Set list style

Syntax

visual="list:[value]"

Values

ValueCSS OutputDescription
nonelist-style-type: noneNo bullets
disclist-style-type: discDisc bullets
decimallist-style-type: decimalNumbers
squarelist-style-type: squareSquare bullets
insidelist-style-position: insideInside position
outsidelist-style-position: outsideOutside position

Examples

html
<ul visual="list:none">No bullets</ul>

Preview

List Style

visual="list:disc" - Control list markers

  • none
  • no bullets
  • disc
  • bullet
  1. decimal
  2. numbers
View Code
html
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
  <ul space="p:small" visual="bg:primary text:white rounded:small list:none"><li>none</li><li>no bullets</li></ul>
  <ul space="p:small" visual="bg:success text:white rounded:small list:disc"><li>disc</li><li>bullet</li></ul>
  <ol space="p:small" visual="bg:warning text:black rounded:small list:decimal"><li>decimal</li><li>numbers</li></ol>
</div>