Reference
Icons
Icon names for templates and global configs, from the Hugeicons set that Strife Studio uses.
Strife Studio shows a template's icon, and a global config's icon, from Hugeicons. Set the icon by its name, in kebab-case:
import { defineType, fields } from '@strifeapp/strife/schema';
export const article = defineType({
name: 'article',
title: 'Article',
type: 'document',
icon: 'news',
fields: {
heading: fields.text({ label: 'Heading' }),
},
});Use a Hugeicons name, such as news, file-01 or user-multiple. Studio also understands many names from the icon set it used before, and shows a generic icon for a name it doesn't recognise.