Material Icons

Material Icons (material_icons)

These options control the registration of the Material Icons library.

Material Icons uses the Apache 2.0 License.

JSON Schema

Definition
{
  "$id": "https://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Settings for the Material Icons icon library.\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/",
  "properties": {
    "aliases": {
      "default": [
        "material"
      ],
      "description": "Define any number of aliases for the icon library.\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/#aliases",
      "items": {
        "type": "string"
      },
      "title": "Library Aliases",
      "type": "array"
    },
    "default_variant": {
      "default": "outline",
      "description": "Choose the default icon variant to use for the library.\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/#default_variant",
      "enum": [
        "outline",
        "round",
        "sharp"
      ],
      "title": "Library Default Variant",
      "type": "string"
    },
    "enabled": {
      "default": true,
      "description": "Choose whether to enable the icon library\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/#enabled",
      "title": "Enable Library",
      "type": "boolean"
    },
    "registration": {
      "description": "Settings for how the library is registered.\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/#registration",
      "properties": {
        "script": {
          "default": "material_icons.js",
          "description": "Specify the name of the registration script.\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/#script",
          "title": "Registration Script",
          "type": "string"
        }
      },
      "title": "Registration Options",
      "type": "object"
    },
    "version": {
      "default": "1.0.5",
      "description": "Choose the version of the library to load.\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/#version",
      "title": "Library Version",
      "type": "string"
    }
  },
  "title": "Material Icons",
  "type": "object"
}

Enable Library (enabled)

Use this setting to choose whether the icon library is available.

Library Aliases (aliases)

Use this setting to specify alternate short names for the library. You can use these names instead of the full library name when specifying the library in your markup or other settings.

<h3 id="aliases.default">Default Value</h3>

[
  &#34;material&#34;
]

Library Version (version)

Choose the version of the library to load from the CDN. Platen regularly updates this version after testing. You can always use a specific released version of the library if you prefer.

Library Default Variant (default_variant)

Use this option to set the default variant for icons from this library.

Registration Options (registration)

Settings for how the library is registered.

JSON Schema

Definition
{
  "description": "Settings for how the library is registered.\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/",
  "properties": {
    "script": {
      "default": "material_icons.js",
      "description": "Specify the name of the registration script.\n\nhttps://platen.io/modules/platen/config/site/features/shoelace/icon_libraries/material_icons/#script",
      "title": "Registration Script",
      "type": "string"
    }
  },
  "title": "Registration Options",
  "type": "object"
}

Registration Script (script)

Specify the name of the registration script.

Edit this page