Components

Modal Drawer

A modal detail panel with focused operator actions.

FreePerspective 8.3

Preview

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

Native capture

Dialog

Dialog — captured in Ignition Perspective
Native capture

Right sheet

Right sheet — captured in Ignition Perspective
Native capture

Left sheet

Left sheet — 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. The native resource styles are included in the package.
  3. Add an Embedded View, set its path to Overlays/ModalDrawer, and configure its parameters.

Perspective 8.3 · 2 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": "Overlays/ModalDrawer",
  "params": {
    "title": "Edit profile",
    "description": "Make changes to your profile here. Click save when you are done.",
    "variant": "modal",
    "side": "right",
    "primaryLabel": "Save changes",
    "secondaryLabel": "Cancel",
    "popupId": "vc2-profile",
    "instanceId": "",
    "onPrimaryMessage": "viewcraft.modaldrawer.primary",
    "onCloseMessage": "viewcraft.modaldrawer.close",
    "name": "Pedro Duarte",
    "username": "@peduarte"
  },
  "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
"Edit profile"
descriptionstringinput
"Make changes to your profile here. Click save when you are done."
variantstringinput
"modal"
sidestringinput
"right"
primaryLabelstringinput
"Save changes"
secondaryLabelstringinput
"Cancel"
popupIdstringinput
"vc2-profile"
instanceIdstringinput
""
onPrimaryMessagestringinput
"viewcraft.modaldrawer.primary"
onCloseMessagestringinput
"viewcraft.modaldrawer.close"
namestringinout
"Pedro Duarte"
usernamestringinout
"@peduarte"

For agents

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

Read as Markdown