Really Flexible Modals with TailwindCSS!

Includes tooltips that work harmoniously with the modals.

Find the documentation on the library's demo site

Installation Guide

npm install @nelhoa/svelte-modals

For the modals to work correctly, your project must use TypeScript.

Modify your tailwind.config.js file to include the svelte-modals library:

/** @type {import('tailwindcss').Config} */
export default {
  content: ['./src/**/*.{html,js,svelte,ts}',
    './node_modules/@nelhoa/**/*.{html,js,svelte,ts}'
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes