Create Aura (Lightning) Component
sf_create_aura_componentGenerate an Aura component scaffold with complete bundle files (.cmp, controller, CSS, design, XML). Specify interfaces, attributes, and Apex controller for legacy migration scenarios.
Instructions
Generates an Aura (Lightning Component Framework) component scaffold. Returns the complete bundle file contents: .cmp markup, JavaScript controller, CSS stylesheet, design resource, and metadata XML. Specify interfaces the component implements (e.g. force:appHostable for App Builder), attributes with types and defaults, and an optional Apex controller. Use sf_create_lwc for new development — Aura is for legacy migration scenarios.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isExposed | No | Whether the component is exposed in App Builder | |
| attributes | No | Component attributes | |
| controller | No | Apex controller class name | |
| implements | No | Comma-separated interfaces, e.g. 'force:appHostable,flexipage:availableForAllPageTypes' | |
| accessLevel | No | Access level | public |
| description | No | Description | |
| componentName | Yes | Aura component name (PascalCase) |