2
0
Files
bot/apps/docs/editor/blocks/inputs/phone-number.mdx

28 lines
716 B
Plaintext
Raw Normal View History

---
title: Phone
icon: phone
---
The Phone number input block allows you to ask your user for a phone number and make sure it is properly formatted. It will also make sure that the number is stored in a consistent format. You can choose the default country code or leave it to international:
<Tabs>
<Tab title="Flow">
<Frame>
<img
src="/images/blocks/inputs/phone-number-flow.png"
alt="Phone number input in flow"
className="rounded-lg"
/>
</Frame>
</Tab>
<Tab title="Bot">
<Frame>
<img
src="/images/blocks/inputs/phone-number-bot.png"
alt="Phone number input in bot"
className="rounded-lg"
/>
</Frame>
</Tab>
</Tabs>