Ada Moreau
No. 004 271Composer
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardComposer(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-composerAbout this component
An AI prompt card: a field whose rim is a slow turning wash of colour. Pick a suggestion or type, send, and the rim spins up while three lines shimmer in. The answer then lands word by word and the rim settles. Stop cancels.
Triggers
- Click
- Focus
- State change
- Card
- Gradient
- Border
- Glow
- Ambient
Techniques
- @property
- Conic gradient
- Keyframes
- CSS transition
- Filter
- Text animation
- Stagger
- State machine
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native textarea named "Ask the assistant", native buttons for the three suggestions and for send, whose accessible name switches between Send and Stop; the answer is an aria-live region. The chips leave the tab order while an answer is on screen.
Reduced motion
The rim, skeleton and caret stop moving and the answer appears whole.
Use it in anything you build, commercial and client work included. Licence
More cards
See allEdge network
38 regions
FRA → SIN
24ms
Integrations
0 of 7 connected