Custom Panel

The panel_custom support allows you to add additional panels to your Home Assistant frontend. The panels are listed in the sidebar if wished and can be highly customized. See the developer documentation on instructions how to build your own panels.

To enable customized panels in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
  - name: my-panel
    sidebar_title: TodoMVC
    sidebar_icon: mdi:work
    url_path: my-todomvc
    module_url: /local/my-panel.js
      who: world

Store your custom panels in <config>/www to make them available in the frontend at the path /local.

Configuration Variables


Name of the web integration that renders your panel.


Friendly title for the panel in the sidebar. Omitting it means no sidebar entry (but still accessible through the URL).

sidebar_iconicon(Optional, default: mdi:bookmark)

Icon for entry. Pick an icon that you can find on to use for your input and prefix the name with mdi:. For example mdi:car, mdi:ambulance, or mdi:motorbike.


The URL your panel will be available on in the frontend. If omitted will default to the panel name.


The URL that contains the JavaScript of your panel. If used together with module_url, will only be served to users that use the ES5 build of the frontend.


The URL that contains the JavaScript module of your panel. Loaded as a JavaScript module instead of a script. If used together with module_url, will only be served to users that use the “latest” build of the frontend.


Configuration to be passed into your web component when being instantiated.

require_adminboolean(Optional, default: false)

If admin access is required to see this panel.

embed_iframeboolean(Optional, default: false)

Set to true to embed panel in iframe. This is necessary if the panel is using the React framework or if it contains conflicting web components.

trust_external_scriptboolean(Optional, default: false)

By default the user has to confirm before loading a script from an external source. Setting this to true will omit this confirmation.


DEPRECATED The HTML path to your component. If omitted will default to <config dir>/panels/<component name>.html This cannot be used in combination with either js_url and module_url.