Icon CORE

Examples API Setup Available icons
-
Name and descriptionType Value
[icon]
Icon name. Default @tui.[name] pattern associate a name with an icon by URL via the default icon resolver. You can also simply pass a direct URL path to your icon or set up own icon name patterns, learn more .
string
'@tui.heart'
[background]
You can limit the area of your icon by shape which refers to removing part of icon area defined by other icon.
string
'@tui.heart-filled'

CSS customization

Name and descriptionType Value
[style.color]
string
''
[style.background]
string
'var(--tui-background-accent-2-hover)'
[style.height.px]
[style.width.px]
number