1 | |
A responsive chrome-less input in Figma's Paragraph/Regular style, with an optional caller-selected Central icon. For a boxed input, use TextField.
| Prop | Type | Default |
|---|---|---|
name
input `name` attribute.
|
String | nil |
value
input value.
|
String | nil |
placeholder
placeholder text.
|
String | nil |
type
input type — "text" (default), "email", "search", …
|
String | "text" |
disabled
disables the input.
|
Boolean | false |
icon
optional leading icon name (rendered via IconComponent).
|
String | nil |
**html_options
extra HTML attributes (id, data-*, aria-*, class, …).
|
Hash | — |