Skip to Content

Tax Number

The taxNumber preset formats tax identification numbers. It validates the length and structure of the tax number.

Raw Value
Display Value
import { useViraMask } from '@virastack/input-mask'; import { useForm } from 'react-hook-form'; const form = useForm({ defaultValues: { taxNumber: '' } }); const { taxNumber } = useViraMask({ form, schema: { taxNumber: 'taxNumber' }, }); <input {...taxNumber} />

© 2026 ViraStack. MIT License.