2
0
Files
bot/apps/docs/editor/blocks/inputs/text.mdx
2023-12-22 09:13:53 +01:00

55 lines
1.0 KiB
Plaintext

---
title: Text input
icon: text
---
The Text input block allows you to ask your user for a text answer.
## Short text input
By default the text input is expecting a short answer:
<Tabs>
<Tab title="Flow">
<Frame>
<img
src="/images/blocks/inputs/short-text-flow.png"
alt="Text input"
className="rounded-lg"
/>
</Frame>
</Tab>
<Tab title="Bot">
<Frame>
<img
src="/images/blocks/inputs/short-text-bot.png"
alt="Text input"
className="rounded-lg"
/>
</Frame>
</Tab>
</Tabs>
## Long text input
You can also ask your user for a longer text answer by enabling it in the input options:
<Tabs>
<Tab title="Flow">
<Frame>
<img
src="/images/blocks/inputs/long-text-flow.png"
alt="Long text input flow"
className="rounded-lg"
/>
</Frame>
</Tab>
<Tab title="Bot">
<img
src="/images/blocks/inputs/long-text-bot.png"
alt="Long text input bot"
className="rounded-lg"
/>
</Tab>
</Tabs>