Skip to content

Ring Width

Use ring or ring-{N} utilities like ring-2 and ring-4 to add a ring around an element. The default ring width is 1px and any non-negative integer is accepted.

Style('ring ...', child: Text('Subscribe'))
Style('ring-2 ...', child: Text('Subscribe'))
Style('ring-4 ...', child: Text('Subscribe'))

By default rings match the currentColor of the element they are applied to.

ClassValue
ring1px
ring-00px
ring-11px
ring-22px
ring-44px
ring-88px
ring-{N}Npx (any non-negative integer)