SvelteKit-Modal-Component
A modal component for SvelteKit
Dependencies :
How to install ?
- If you don't already do it. Install SvelteKit & Tailwind CSS
- Create a folder "components" wherever you want. Example & advice : src/lib/components
- Open the your svelte.config.js and add alias to your config :
kit: {
alias: {
$components: "src/lib/components",
}
}
- (Optional) Install Animate.css for modal animation
How to use ?
Coming Soon.. Documentation is currently WIP...
You can generate your Modal code here