# Glass Card

Glass Card is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

Glassmorphism content cards with 3D tilt-on-hover, spring physics, and a cursor-following glare highlight.

- Category: Cards & Modals
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/glass-card

## Install

```bash
npx shadcn@latest add @aicanvas/glass-card
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

Peer dependencies:

```bash
npm install framer-motion
```

## Use it

It installs to `components/aicanvas/glass-card.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import GlassCard from '@/components/aicanvas/glass-card'

<GlassCard />
```

It takes no props.

## About

Glass Card is a glassmorphism content card with three Motion-driven flourishes that wake up on hover: a subtle 3D tilt that follows the cursor, a spring physics return when you leave, and a soft glare highlight that tracks your pointer across the surface. The glass effect uses native backdrop-filter so the card always picks up the texture behind it. Reach for it for pricing tiers, marketing-site features, dashboard widgets, or any layout where individual cards deserve a moment of attention.

Use cases: Marketing site, Dashboard, Pricing.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Glass Card rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/glass-card.

## Related

- [Glass Modal](https://aicanvas.me/components/glass-modal.md): Centered dialog with deep glass blur, scale-spring entrance, and staggered content reveal.
- [Radial Cards](https://aicanvas.me/components/radial-cards.md): Seven health-metric cards bloom into a slowly rotating flower. Tap any petal to pull it forward and read your stats up close.
- [AI Job Cards](https://aicanvas.me/components/ai-job-cards.md): Three AI job card stacks with swipe-to-cycle. Brand logos, bookmark toggle, springs.
- [Glass Search Bar](https://aicanvas.me/components/glass-search-bar.md): Glassmorphism search bar with animated suggestion dropdown, active state glow, and reduced-motion support.
- [Glass User Menu](https://aicanvas.me/components/glass-user-menu.md): Frosted glass user avatar trigger with animated dropdown, grouped menu items, and Log Out.
