Glass ModalCentered dialog with deep glass blur, scale-spring entrance, and staggered content reveal.

Cards & ModalsGlassDashboardSettingsMarketing site

Upgrade to Pro

Unlock premium components, priority support, and early access to new features.

Unlimited components
Source code access
Priority support

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/glass-modal
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for “a navigation component from AI Canvas” inside Claude Code, Codex, or Cursor and it can suggest you a few options, then install the one you like. Less typing, lower token cost, modern way to build.

Get MCP

About Glass Modal

Glass Modal is a centered dialog with deep glass blur on the backdrop, a scale-spring entrance for the panel, and a staggered content reveal so the header, body, and actions land in sequence rather than as one block. Motion handles the entrance choreography; the glass surface uses backdrop-filter so the dialog sits convincingly over any background. It is the default modal for SaaS settings, marketing-site confirmations, and any dashboard flow where the interruption needs to feel intentional.

Built with

MotionTailwind CSS

More like this