Includes tooltips that work harmoniously with the modals.
Find the documentation on the library's demo site
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: [],
}