Download the modal files, copy the HTML into your page, include shailstack-modal.css in <head>, and add shailstack.js before </body>. Connect any button to a modal ID to trigger it.
<link rel="stylesheet" href="https://cdn.shailstack.com/shailstack-modal.css" /><script src="https://cdn.shailstack.com/shailstack.js" defer></script>New in v2 — no extra JavaScript needed
.shail-top, .shail-corner, .shail-lightbox, and .side-modal.shail-left.shail-sm, .shail-lg, .shail-xl<button data-modal-open="my-modal">data-open-delay="5000" or data-exit-intent on the modal (once per visit):root { --shail-accent: #ff1654; --shail-accent-dark: #7f0b2a; }A basic popup modal example for alerts, confirmations, and simple messages. Lightweight, responsive, and easy to use.
A side popup modal that slides in smoothly for notifications, menus, and announcements without blocking content.
A fullscreen popup modal designed for immersive content, forms, and focused user interactions across devices.
An animated popup modal with smooth open and close transitions using lightweight CSS and JavaScript.
A multi-step popup modal ideal for onboarding, forms, and step-by-step user workflows.
A media popup modal for image previews and video playback with responsive lightbox support.
A login popup modal for quick user authentication using email and password fields.
A signup popup modal that allows fast user registration with a clean and distraction-free layout.
A contact popup modal for inquiries, feedback, and lead generation without page reloads.
A newsletter subscribe popup modal for collecting user emails and growing your audience.
A fast search popup modal for quick navigation, commands, and content discovery.
A mobile-friendly bottom sheet popup modal that slides up smoothly from the screen bottom.
A secure authentication popup modal to connect accounts with an authenticator app.
A success popup modal to confirm completed actions and reassure users instantly.
A congratulation popup modal to celebrate user achievements and milestones.
A delete confirmation popup modal to prevent accidental data removal.
A payment method popup modal to add, select, or manage payment options securely.
A side panel that slides in from the left — ideal for navigation menus, filters and settings.
A banner-style popup that drops in from the top for launches, offers and important notices.
A small corner popup that leaves the page usable — perfect for cookie consent and gentle prompts.
A dark, distraction-free viewer for product photos, screenshots and galleries.
A compact yes/no dialog using the .shail-sm size — for confirmations that need a quick answer.
Opens automatically when the visitor moves to leave the page, once per visit. Add data-exit-intent — no extra JavaScript.
Ask visitors to rate their experience with keyboard-friendly CSS stars and an optional comment — great after a purchase or download.
A pricing plan popup modal for selecting and managing subscription plans easily.