dc.StackedIcon

The <dc.StackedIcon> tag allows use of multiple icons to be combined in a single space

Attributes

N/a

Children

Icon

  • Path: combination file path and file name used for custom icons. Use subfolder/subfolder/filename

  • Library: name of library. Available libraries can be found at packages/dc/dcWeb/www/icons

  • Name: name of specific svg to be used as the icon. Please see list of libraries for available icons.

Usage Notes

The Icon children tag function identically to the dc.Icon stand alone tag

The Library and Name attributes are designed to be used with the built in Font Awesome libraries available. Alternatively, you can set up custom icons by adding an icons directory in the root www folder and then nesting as many folders as needed, leading to a final file.svg

There are Font Awesome specific classes built in to affect the default icons. Please see here for some information.

Examples

<dc.StackedIcon> <Icon Library="fas" Name="circle" /> <Icon Library="fas" Name="times" /> </dc.StackedIcon>

Output:

See Also

  • TODO