Text Field
Text controls allow users to input textual data into a form. They have multiple styles for short, single-line entries like names or email addresses, or multi-line content like messages or descriptions.
import * as UI from "@iyk/ui"
export default () => (
<UI.TextControl2 type="text" />
)
type
- Text
- For plain text.
- For email addresses, providing validation and relevant virtual keyboard controls
- Number
- For numbers, providing validation and relevant virtual numeric keyboard controls.
- Password
- For passwords whose value is obscured.
- Search
- For search queries, providing validation and relevant virtual keyboard controls.
- Tel
- For telephone numbers, providing validation and relevant virtual keypad keyboard controls.
- Textarea
- For plain, multi-line text.
- Url
- For URLs, providing validation and relevant virtual keyboard controls.