← All forms

Core / Forms

Phone Input

Captures a normalized phone number.

Live example

Select a country code and enter a phone number.

Interactive preview using local sample data. Styling is intentionally left to the consuming project.

Usage

<PhoneInput />

Adopt to your project

Keep this component semantically neutral. Use its documented props for behavior and className for project-specific spacing, width, typography, and visual treatment.

Accessibility

Give the country selection and telephone input distinct labels.

API reference

Public attribute
value
onChange
defaultCountry
disabled

The preview above uses a safe local fixture. Confirm exact TypeScript props when adapting it to your application.

Installation

Full library
pnpm install:project /absolute/path/to/your-project

Planned guided selection
Forms → Phone Input