Alert
Contextual status messages with basic, success, warning and error variants.
Preview
4 of 4 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.
- Append stylesheet-snippet.css to Perspective Styles → stylesheet.css. Enable Advanced Stylesheet if needed and preserve your existing CSS.
- Add an Embedded View, set its path to
Viewcraft/Components/UI/Alert/Alert, and configure its parameters.
Perspective 8.3 · 21 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": "Viewcraft/Components/UI/Alert/Alert",
"params": {
"variant": "default",
"title": "Alert!",
"description": "Este es un aviso con título y descripción.",
"showIcon": true
},
"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 |
|---|---|---|---|
| variant | string | input | "default" |
| title | string | input | "Alert!" |
| description | string | input | "Este es un aviso con título y descripción." |
| showIcon | boolean | input | true |
For agents
Copy this page for the contract, installation steps and complete source. With the Rungsmith MCP, call get_catalog_component with id alert.



