Enhanced Forms in Svelte
From the SvelteKit cheat sheet ยท Form Actions ยท verified Nov 2026
Enhanced Forms
Client-side progressive enhancement
javascript
<script>
import { enhance } from '$app/forms';
</script>
<form method="POST" use:enhance>
<input name="title" />
<button>Submit</button>
</form>โก use:enhance for progressive enhancement
๐ use:enhance only works on forms with method="POST"
๐ฏ Optimistic UI updates without waiting
๐ update() accepts reset, refreshAll and navigate options
Continue with SvelteKit
Save the full cheat sheet or work through every related task.