Memo

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-memo

About this component

A message box in frosted acrylic: a clear sheet whose edge glows pink to orange as light runs round it, with a cursor blinking on the first line. A ring at the foot fills as you use up the 120 characters and turns amber, then red, and the send button lights up once there is something to send.

Triggers

  • Focus
  • State change
  • Glow
  • Gradient
  • Border
  • Ambient

Techniques

  • Keyframes
  • Gradient
  • CSS variables
  • stroke-dashoffset
  • SVG
  • Filter
  • CSS transition

Difficulty

Advanced

Accessibility

Keyboard and screen readers

A native <textarea> named by aria-label ("Message") with maxlength 120, and a real button ("Send") that is disabled until there is text and has a :focus-visible outline. The ring and the edge are aria-hidden; the limit itself is enforced by the textarea.

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
MemphisGet code
MeshGet code
OutrunGet code
PasscodeGet code