Prompt

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-prompt

About this component

A glass prompt box for an AI tool with a faint rainbow rim: focusing it brightens the rim, and as soon as you type, the dark glass send orb at the corner lights up with colour and lifts.

Triggers

  • Focus
  • Glow
  • Border

Techniques

  • Gradient
  • CSS transition
  • SVG

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native textarea named by aria-label ("Prompt") and a submit button named "Send".

Reduced motion

The transitions and loops stop and the component jumps straight to its final state.

Use it in anything you build, commercial and client work included. Licence

More inputs

See all
SearchGet code
SuggestGet code
  • Motion
  • Glass
TagsGet code

5 of 8 · it heats while you type, Enter brands it

Branding ironGet code