Skip to content
Forms

GlowInput

A field whose border lights up under the pointer, then glows all round in a gradient once it has focus.

Download
  • React
  • Tailwind CSS v4

Props

NameTypeDefaultWhat it does
labelstring—Field name above the box.
hideLabelbooleanfalseKeep the label for screen readers only.
iconReactNode—Icon at the start of the box.
hintstring—Help text under the field.
colors[string, string]["#a78bfa", "#22d3ee"]Glow gradient start and end.
...input propsInputHTMLAttributes—type, name, placeholder, value, onChange… all pass to the input.
classNamestring"w-full max-w-sm"Wrapper look.