SvelteKit-Modal-Component

A modal component for SvelteKit

Dependencies :


How to install ?

  1. If you don't already do it. Install SvelteKit & Tailwind CSS
  2. Create a folder "components" wherever you want. Example & advice : src/lib/components
  3. Open the your svelte.config.js and add alias to your config :
     kit: {
         alias: {
             $components: "src/lib/components",
         }
     }
    
  4. (Optional) Install Animate.css for modal animation

How to use ?

Coming Soon.. Documentation is currently WIP... You can generate your Modal code here

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes