Fluid
Loading...
Searching...
No Matches
Symbol Class Reference

Displays an icon from the Material Symbols collection. More...

Inheritance diagram for Symbol:
Inheritance graph
[legend]
Collaboration diagram for Symbol:
Collaboration graph
[legend]

Detailed Description

Displays an icon from the Material Symbols collection.

To use an icon from the Material Symbols collection. Material Symbols are a set of icons consisting of over 2500 glyphs in a single font file with a wide range of design variants, check the guide here.

Set the name property to the name of the icon in its group in the form of group/icon_name. For example:

import QtQuick
import Fluid as MD
MD.Symbol {
name: MD.SymbolNames.symbolShoppingCart
}

This icon will by default use the light icon color from Material Design. To use the dark icon color:

import QtQuick
import Fluid as MD
MD.Symbol {
MD.Style.theme: MD.Style.Dark
name: MD.SymbolNames.symbolShoppingCart
}

The documentation for this class was generated from the following file: