Text Field Icon
Rounded input field with a short bar and a tall caret line, for text inputs, form fields and typing states. Available in 4 styles (outline, solid, duotone and filled) as a React component you install with the shadcn CLI.
Preview
Install and code
Text Field icon in shadcn/ui components
Button
Icon button
Dropdown menu
Input group
Empty state
Text Field icon FAQ
What does this icon show?
Rounded input field with a short bar and a tall caret line, for text inputs, form fields and typing states. Typical uses: text input in a form builder, field type picker in a schema editor and typing state placeholder.
When should I use it instead of a similar icon?
Use it for:
- The short answer question type in a form or survey builder, for replies on 1 line
- The Input entry in a component library or no code builder palette, beside Select
For a masked input whose characters show as dots, use the Password Field icon. For long answers and paragraph blocks that run past 1 line, use the Square Text icon. For placing a typed caption box on a slide or poster canvas, use the Text Edit icon.
Which styles does it come in?
4 styles: Outline, Solid, Duotone and Filled. Every style is drawn on the same 24 by 24 grid and installs as its own file, so you can switch styles without touching the layout.
How do I install it with the shadcn CLI?
Copy the install command from the panel above, in the style you want, and run it in your project. The shadcn CLI adds the icon as a React component that you import and render like any other. It draws in the current text color, so your text color and size classes style it. Icon installs need a ReUI Ultimate license.
What icons go well with it?
Icons from the same family and the Security set: Message Text, Note Text, Speech Bubble Text, Square Text, Tablet Text Down and Tablet Text Up.
When was it added, and what was it called before?
It joined the ReUI icon library on June 30, 2026. It was previously named ensure, and that install name still resolves to this icon.
Icons related to Text Field
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Ultimate license.
When to use
- The short answer question type in a form or survey builder, for replies on 1 line
- The Input entry in a component library or no code builder palette, beside Select
When not to use
- A masked input whose characters show as dots: use the Password Field icon
- Long answers and paragraph blocks that run past 1 line: use the Square Text icon
- Placing a typed caption box on a slide or poster canvas: use the Text Edit icon
Agent notes
- Name an icon-only button with its label, "Add short answer", as the aria-label
Markdown
https://reui.io/icons/preview/text-field.mdMCP
get_icon("text-field")Install
npx shadcn@latest add @reui/icons/default/duotone/text-fieldStart building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
Get All-Access
From $249, once. Lifetime updates.