- Add nuxt-skills (vue, nuxt, nuxt-ui) to .claude/skills/ - Create useCustomerSelection() composable for managing insured/buyer selection - Create usePolicyApi() composable for policy API operations - Update auto quote components to use insured/buyer instead of client - Update vehicle fields: remove valorVehiculo, add market_value, requested_value, rc_limits - Make chassis_number and engine_number optional - Update auto quote types and composables to match new API structure - Update auto quote page to submit to policy API with new structure
23 lines
473 B
Markdown
23 lines
473 B
Markdown
# Switch
|
|
|
|
A control that toggles between two states.
|
|
|
|
> Based on [Reka UI Switch](https://reka-ui.com/docs/components/switch)
|
|
|
|
## Key Props
|
|
|
|
- `label`: to set the label of the Switch.
|
|
- `description`: to set the description of the Switch.
|
|
- `loading`: to show a loading icon on the Switch.
|
|
- `color`: to change the color of the Switch.
|
|
- `size`: to change the size of the Switch.
|
|
- `disabled`: to disable the Switch.
|
|
|
|
## Usage
|
|
|
|
```vue
|
|
<USwitch
|
|
<!-- props here -->
|
|
/>
|
|
```
|