rivafarabi / deckboard-kit

Deckboard app extention starter
MIT License
15 stars 5 forks source link

which icons can be used. #6

Closed Aw0d closed 4 years ago

Aw0d commented 4 years ago

Is there a list of icons that can be used when creating an extension?

rivafarabi commented 4 years ago

You can use FontAwesome5 Free icons by passing the icon name string and fontIcon like example below

this.inputs = [
    {
        label: 'Launch Game',
        value: 'steam-launch-games',
        icon: 'steam',
        fontIcon: 'fab',
        color: '#171A21',
        input: [
            {
                label: 'Game',
                ref: 'appid',
                type: INPUT_METHOD.INPUT_SELECT,
                items: this.getGameList()
            }
        ]
    }
];

For the fontIcon object, use fas, far, or fab for solid, regular, or brand icon.

Aw0d commented 4 years ago

Okay, thank you