HUD Brackets

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-hud-brackets

About this component

Four L-shaped corner brackets animate inward on focus, locking the input in a targeting-reticle frame. Sci-fi HUD aesthetic.

Triggers

  • Focus
  • Border
  • Delay stagger

Techniques

  • Keyframes
  • Transform only

Difficulty

Intermediate

Moves on

Its code uses this curve. Open one to see it plotted and tune it.

Accessibility

Reduced motion

Brackets snap to locked position instantly under prefers-reduced-motion.

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

More inputs

See all
LaserGet code