Deco

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-deco

About this component

A guest name field in deep teal lacquer with a double gold line, stepped corners and a gold fan at each end. Focus opens the fans wider and runs a gleam along the gold.

Triggers

  • Focus
  • Border
  • Glow
  • Gradient

Techniques

  • Conic gradient
  • clip-path
  • Keyframes
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input inside a <label>, named by aria-label ("Guest name"); fans, lines and drawn cursor are aria-hidden.

Reduced motion

Every transition and animation is switched off.

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

More inputs

See all
DelftGet code
DraftGet code
E-inkGet code
FoilGet code