SvelteThemes
SvelteThemes
Themes
Resources
Paid Templates
Updates
Submit
Svelte Modal Example
hnakamur
Download
Svelte modal dialog example with focus trapping
This example is derived from
How to create a Full-Featured Modal Component in Svelte, and trap focus-within - DEV Community
.
However, the original CSS :focus-within based solution is replaced with an ECMAScript based solution which is ported from
Modal Dialog Example | WAI-ARIA Authoring Practices 1.1
.
Top categories
tailwind
daisyui
admin template
popup
mdsvex
portfolio
blog
form
ecommerce
ui
carousel
auth
dark
seo
image
routing