Convert to Svelte
sp_to_svelteConverts HTML/Tailwind markup into SvelteKit components with Svelte 5 runes ($state) and optional shadcn, Radix, or MUI library mapping.
Instructions
Convert HTML/Tailwind to SvelteKit components with Svelte 5 runes ($state) and optional component library mapping
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": {
"html": "<html>"
},
"name": "sp_to_svelte"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML/Tailwind source to convert | |
| componentLibrary | No | none | |
| appRouter | No | Use Next.js App Router (React only) |