Mesh

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-mesh

About this component

A message field filled with a slow-moving mesh of coral, pink, violet and blue, with a white cursor at the start and a send button that wakes up once you have typed something. Focus draws a white ring inside the edge.

Triggers

  • Focus
  • Gradient
  • Ambient
  • State change

Techniques

  • Radial gradient
  • Keyframes
  • CSS transition
  • Pseudo elements

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input named by aria-label ("Message") and a real send button with its own label and :focus-visible outline; the mesh 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
OutrunGet code
PasscodeGet code
RisoGet code
SeekGet code