Input Elements
Text Input
For text inputs and similar (search, password, etc.), you can just use the input class.
Number Input
NumberInput wraps a native number input. Add unit="mm", unit="%" or another unit to display
a muted suffix after the current number. Units also follow numeric placeholders, hide for text placeholders like “Auto”,
and align right when there is no value or placeholder. The bound value stays numeric.
Label Actions
NumberInput and Field accept a labelEnd snippet for custom content beside the label and help. This
example combines Infinipose's Gutter X field with its toolbar reset button. Change the value to reveal the reset
action. ButtonRevert keeps its space when hidden, so the field stays the same width. The snippet sits outside
the clickable label and can contain any component. The app controls its behavior, visibility and disabled state.
Use type="button" for actions inside forms.
Combo Box
Editable text with string or structured suggestions. Object options use value for selection and label for search; an option snippet can render extra data. Use null to separate groups.
Async Combo Box
The saved-cover example loads pages and searches asynchronously. onSet opens the chosen file without writing its ID into the input. The popup uses native popover and adjusts to the available space while scrolling.
Toggle
Toggle wraps a native checkbox. Add boxed for an input-style surface, and pass an object with off and on labels for state-dependent text that reserves space for both. See Layout and Fields for boxed examples with a top label.
Infinipose's Preview options form one compact vertical group, with help beside each switch. Its More options group uses one shared box for two related switches. Inside a shared box, leave the individual toggles unboxed. Use 0.5em between closely related switches and 1em between independent groups.
Radios
Radio wraps a native radio input. Place related radios in one input-group boxed container for a shared box matching a text or number input. This is required when the group is beside an input field. Infinipose's Group copies setting binds a boolean to two directly named choices, each with its own explanation. The number sequences use the numbers class and 70% opacity. See Layout and Fields for an aligned example.
Radio Cards
Use the same native radio and adjacent label pattern with the card class for choices containing icons or diagrams. Add primary to the selected card. Its text uses 75% accent mixed with 25% white for better visibility. Icon inherits that tint by default. Custom diagrams use currentColor. Selection preserves the card's dimensions. Keyboard focus uses the card's hover emphasis without an outline. This example uses four of Infinipose's page-orientation diagrams in a two-column grid.