Skip to main content
v7

Input

The easiest way to receive data from your user. Using `the-mask-input` as a mask provider, you can build custom masks with a good DX and UX.

Package@g4rcez/componentsSectionForm Controls

Examples

Brazilian Masks

Examples of inputs using common Brazilian masks (CPF, CNPJ, Cellphone).

Brazilian masks

Custom and Interactive Masks

Demonstrates custom input masks, integer, percentage, and an interactive currency input where the currency symbol can be changed.

Custom masks

Field Sizes

Use the button-compatible size names to align inputs and actions in one row.

Sizes

When to use Input

Use when

You need the documented Input interaction or presentation in a product workflow.

Avoid when

A native HTML element already provides the Input behavior you need.

Accessibility

Keep the Input labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.