Combo

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-combo

About this component

A jade command field: a rim of jade light turns round it at rest; focus raises an aura and three glowing stones; every key throws sparks from the caret and fills a combo pip; Enter lands a finisher that slashes the text away.

Triggers

  • Focus
  • Glow
  • State change

Techniques

  • Conic gradient
  • Keyframes
  • requestAnimationFrame
  • CSS transition

Difficulty

Advanced

Accessibility

Keyboard and screen readers

A native text input in a <form>, named by aria-label ("Command"); Enter submits. Pips, stones and canvas are aria-hidden.

Reduced motion

The loops and bursts are skipped.

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

More inputs

See all
CellsGet code
HaloGet code
PromptGet code
SearchGet code