You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.

General

Component Palette Icon:




Description

The Icon is an image path commonly used to augment a label or text property of a component by placing an image next to it.

The materials icon library is a primary source for icons, see https://fonts.google.com/icons?selected=Material+Icons. You can also add your own custom repository of icons. For more information, see Images, SVGs, and Icons in Perspective.

Properties

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective.
This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
pathShorthand path to icon source, in format: library/IconName (i.e., material/3d_rotation). The materials icon library is a great source for icons, see https://fonts.google.com/icons?selected=Material+Icons.value: string
colorColor of the icon. See Color Selector. color
style

Sets a style for this component. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous.

object

Perspective Component Events

The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.

Examples
Example 1

PropertyValue
props.color#00AC00
Example 2

PropertyValue
props.pathmaterial/record_voice_over
props.color#000088
props.style.borderstyleridge
props.style.borderColor#FFAC47
props.style.borderWidth6px
  • No labels