# Glass AI Composer

Glass AI Composer 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 AI chat input with image upload, web search toggle, and model switcher.

- Category: Inputs & Controls
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/glass-ai-compose

## Install

```bash
npx shadcn@latest add @aicanvas/glass-ai-compose
```

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

```tsx
import GlassAiCompose from '@/components/aicanvas/glass-ai-compose'

<GlassAiCompose />
```

It takes no props.

## About

Glass AI Composer is an AI chat input with everything modern conversation interfaces tend to bolt on: an image-upload slot, a web-search toggle that visibly engages, and a segmented pill switcher for picking between fast and frontier models. The whole thing sits inside a glassmorphism surface with Motion-driven focus and toggle states, so the composer feels like part of the product rather than a third-party widget. Drop it into AI products, SaaS support consoles, editor command surfaces, and any chat-style entry point.

Use cases: AI product, SaaS, Editor.

## Source

Install with the command above to get the source.

## Remix prompt

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

## Related

- [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 Slider](https://aicanvas.me/components/glass-slider.md): Range sliders with glass tracks, glowing colored fills, and spring-animated thumbs that scale on drag.
- [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 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 Sidebar](https://aicanvas.me/components/glass-sidebar.md): Collapsible glassmorphism sidebar with icon-only and full label states, spring-animated expand and collapse.
