Components

File Tree

Expandable hierarchies for project resources and equipment.

FreePerspective 8.3

Preview

6 of 6 examples · Each preview has its own view and URL. One interactive preview at a time.

Native capture

Árbol básico

Árbol básico — captured in Ignition Perspective
Native capture

Guías de jerarquía

Guías de jerarquía — captured in Ignition Perspective
Native capture

Iconos de equipo

Iconos de equipo — captured in Ignition Perspective
Native capture

Expandir y contraer

Expandir y contraer — captured in Ignition Perspective
Native capture

Compacto

Compacto — captured in Ignition Perspective
Native capture

Deshabilitado

Deshabilitado — captured in Ignition Perspective

Activate Perspective to interact with the native views and demo data. Only visible previews connect; each example can also open independently.

Installation

  1. Download this component’s ZIP. In your development project, choose Designer → File → Import and select it. Preserve the view and style-class paths and review replacement conflicts.
  2. Append stylesheet-snippet.css to Perspective Styles → stylesheet.css. Enable Advanced Stylesheet if needed and preserve your existing CSS.
  3. Add an Embedded View, set its path to Viewcraft/Components/UI/FileTree/FileTree, and configure its parameters.

Perspective 8.3 · 3 resource files. ZIP structure and source consistency are checked. Manual Designer import acceptance is pending.

Usage

Use the component inside an Embedded View. Replace the sample values with your own data; output and inout parameters expose state back to the host.

Embedded View props
{
  "path": "Viewcraft/Components/UI/FileTree/FileTree",
  "params": {
    "title": "Activos · Planta Demo",
    "size": "md",
    "disabled": false,
    "selectedId": "bomba-01",
    "selectedLabel": "Bomba-01",
    "toggleIconType": "chevron",
    "indent": 20,
    "showIcons": true,
    "indicator": false,
    "iconFolder": "▦",
    "iconLeaf": "◇",
    "expPlanta": true,
    "expAreaNorte": true,
    "expLineaA": true,
    "expLineaB": false,
    "expAreaSur": false,
    "expLineaC": false,
    "labelPlanta": "Planta Demo",
    "labelAreaNorte": "Área Norte",
    "labelLineaA": "Línea A",
    "labelBomba01": "Bomba-01",
    "labelBomba02": "Bomba-02",
    "labelValvula12": "Válvula-12",
    "labelLineaB": "Línea B",
    "labelMotor03": "Motor-03",
    "labelAreaSur": "Área Sur",
    "labelLineaC": "Línea C",
    "labelTanque01": "Tanque-01"
  },
  "useDefaultViewWidth": false,
  "useDefaultViewHeight": false
}

Parameters

Taken directly from the native view. Types describe the saved defaults; they are not a complete validation schema.

ParameterTypeDirectionDefault
titlestringinput
"Activos · Planta Demo"
sizestringinput
"md"
disabledbooleaninput
false
selectedIdstringinout
"bomba-01"
selectedLabelstringinout
"Bomba-01"
toggleIconTypestringinput
"chevron"
indentnumberinput
20
showIconsbooleaninput
true
indicatorbooleaninput
false
iconFolderstringinput
"▦"
iconLeafstringinput
"◇"
expPlantabooleaninout
true
expAreaNortebooleaninout
true
expLineaAbooleaninout
true
expLineaBbooleaninout
false
expAreaSurbooleaninout
false
expLineaCbooleaninout
false
labelPlantastringinput
"Planta Demo"
labelAreaNortestringinput
"Área Norte"
labelLineaAstringinput
"Línea A"
labelBomba01stringinput
"Bomba-01"
labelBomba02stringinput
"Bomba-02"
labelValvula12stringinput
"Válvula-12"
labelLineaBstringinput
"Línea B"
labelMotor03stringinput
"Motor-03"
labelAreaSurstringinput
"Área Sur"
labelLineaCstringinput
"Línea C"
labelTanque01stringinput
"Tanque-01"

For agents

Copy this page for the contract, installation steps and complete source. With the Rungsmith MCP, call get_catalog_component with id file-tree.

Read as Markdown