generate_flux_component
Generate Livewire Flux UI components with dark mode support. Configure the component type, variant, size, slots, and content to output ready-to-use code.
Instructions
Generate a Livewire Flux UI component using the official Flux component library with dark mode support.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"componentName": "<componentName>"
},
"name": "generate_flux_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| slots | No | ||
| content | No | Component content/text | |
| variant | No | ||
| fluxType | No | button | |
| componentName | Yes | Component name e.g. 'user.profile' |