Modal Drawer
A modal detail panel with focused operator actions.
Preview
3 of 3 examples · Each preview has its own view and URL. One interactive preview at a time.
Activate Perspective to interact with the native views and demo data. Only visible previews connect; each example can also open independently.
Installation
- 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.
- The native resource styles are included in the package.
- 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.
{
"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.
| Parameter | Type | Direction | Default |
|---|---|---|---|
| title | string | input | "Edit profile" |
| description | string | input | "Make changes to your profile here. Click save when you are done." |
| variant | string | input | "modal" |
| side | string | input | "right" |
| primaryLabel | string | input | "Save changes" |
| secondaryLabel | string | input | "Cancel" |
| popupId | string | input | "vc2-profile" |
| instanceId | string | input | "" |
| onPrimaryMessage | string | input | "viewcraft.modaldrawer.primary" |
| onCloseMessage | string | input | "viewcraft.modaldrawer.close" |
| name | string | inout | "Pedro Duarte" |
| username | string | inout | "@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.


