Primitive
TextField
Auto-emitted from DSKintsugiCatalog.textfield. Tier atom.
Live Preview
Native · macOS
DSL usage
ViewNode.input(placeholder: "Search funds…", binding: .searchQuery, style: .default) // Focused state is managed by the renderer — no explicit prop needed. // Filled state: binding value non-empty → renders with ink color text.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
placeholder |
String | |
Ghost text shown when the field is empty |
binding |
BindingKey | |
Key into the renderer's state store (ViewNode.input binding:) |
style |
InputStyle | .default |
.default (paper bg, var(--line) border, carmine focus ring) |
density |
Density | regular |
compact | regular | expanded |
locale |
Locale | en |
BCP-47 locale tag for locale-aware rendering |
Used in
FundsScreener sigma-analytics c-tech