MARKETPLACE
PLUGINS
BR MASK INPUT
BR Mask Input logo

BR Mask Input

Published June 2026
   •    Updated this week

Plugin details

Native Brazilian mask input for mobile apps. Supports CPF/CNPJ (auto-switches, validates check digits), phone ((00) 00000-0000), and CEP (00000-000). Exposes formatted value, raw digits, and validity state as Bubble states. Fires on_change, on_focus, and on_blur events. Fully customizable: border color, focus color, error color, background, text, placeholder colors, border radius, label, placeholder text, and font family.

Free

For everyone

stars   •   0 ratings
8 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Native mobile

Contributor details

LR Pires logo
LR Pires
Joined 2022   •   2 Plugins
View contributor profile

Instructions

1. Add the MaskInput element to your mobile page. 2. Set the Mask Type field: cpf_cnpj, telefone, or cep.
3. Optionally set Label, Placeholder, Initial Value, and style fields (colors, border radius, font family).
4. Use the exposed states:
  - value → formatted value (e.g. 123.456.789-09)
  - raw_value → digits only (e.g. 12345678909)
  - is_valid → true when the value passes validation
5. Use the events on_change, on_focus, and on_blur to trigger workflows.
6. For CPF/CNPJ: validation uses the official check digit algorithm. The mask auto-switches between CPF (11 digits) and CNPJ (14 digits) as the user types.

Plugin editor: https://bubble.io/plugin_editor?id=brmaskinputplugin

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:
Technical   •   Mobile   •   Input Forms

Resources

Support contact
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble