# Glass Tags

Glass Tags 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

Selectable pill-shaped tags with glass surfaces, unique color accents, and spring-animated check marks.

- Category: Notifications
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/glass-tags

## Install

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

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-tags.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import GlassTags from '@/components/aicanvas/glass-tags'

<GlassTags />
```

It takes no props.

## About

Glass Tags is a row of selectable pill-shaped tags with frosted glass surfaces, unique color accents per tag, and spring-animated checkmarks that scale in when a tag is activated. Motion drives the check animation and the tag-state transition; the glass effect uses backdrop-filter so each pill stays consistent with the background. It is a good fit for filter rows, onboarding interest-pickers, settings selectors, and any UI where users need to select multiple items from a small named set.

Use cases: Forms, Settings, Onboarding.

## Source

Install with the command above to get the source.

## Remix prompt

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

## Related

- [Glass Toast](https://aicanvas.me/components/glass-toast.md): Frosted glassmorphism toast notification stack with 4 variants, auto-dismiss progress bar, and spring-animated stacking.
- [Glass Notifications](https://aicanvas.me/components/glass-notification.md): Swipe-to-dismiss notification stack with glass cards and spring-animated layout transitions.
- [Glass Stepper](https://aicanvas.me/components/glass-stepper.md): Glassmorphism numeric stepper with spring number flip, notification-style tinted buttons, and configurable min/max/step.
- [Glass Progress](https://aicanvas.me/components/glass-progress.md): Glassmorphism progress bar panel with glowing gradient fills, spring-animated counters, staggered reveal, and replay button.
- [Glass Tab Bar](https://aicanvas.me/components/glass-tab-bar.md): Frosted glass pill tab bar with a sliding active indicator. Edge tabs snap flush to the container wall.
