Back to Components
Inputs

Glow Input

An input field with a soft glow that blooms on focus for an elevated form experience.

Dependencies

  • clsx
  • tailwind-merge
  • framer-motion

Files

  • components/ui/glow-input.tsx

Installation

Using shadcn CLI

npx shadcn add glow-input --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge framer-motion