@nelhoa/svelte-modals
v1.0.18
Published
A flexible modal library with TailwindCSS.
Downloads
217
Readme
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: [],
}