Back to Components
Components

Autocomplete Address

Address input with suggestions and structured output for street, city, state, and postal code.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/autocomplete-address.tsx

Installation

Using shadcn CLI

npx shadcn add autocomplete-address --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge