Vivid Logo Vivid

Icon

Displays icons from the Vivid Icons Library using predefined colors and sizes.

Icon

Vivid comes with a library of over 1000 icons. You can use these icons in your components by setting the name attribute to the icon's name.

Custom Icon

Instead of an icon from the Vivid Icon Library, you can also use a custom SVG image. Place it inside the default slot as an img or svg element.

Size

Use the size attribute to select the icon's size from a set of predefined values.

Icon size will be affected by the --vvd-size-density variable.

Connotation

Use the connotation attribute to select the icon's color from a set of predefined values.