The format prop reuses Timestamp's format vocabulary to control how the committed value is displayed: date, date_long (default), date_weekday, and system_date, or a function for a fully custom string. Formatting applies only to the committed value, never to text the user is actively typing.
Date input constrained to a min/max window. Use when only certain dates are valid, like booking availability or a fiscal quarter.
Date input in all three status states: error, warning, and success. Use to surface validation issues, caution the user, or confirm a valid selection.
Date range input in all three status states: error, warning, and success. Use to surface booking conflicts, flag high-demand periods, or confirm an available range.
Date range picker with quick-select presets for common periods. Use for analytics dashboards, report filters, or any context where users frequently select standard time windows.
DateTimeInput in all three status states: error, warning, and success. Use to surface scheduling conflicts, caution the user about edge cases, or confirm a valid datetime.
A form field wrapping a text input with a label, description, and validation status.
Fields with helper text below the label. Use descriptions to explain format requirements, constraints, or what happens with the data, like "At least 8 characters" or "We will send a confirmation link".
Required and optional field indicators side by side. Use isRequired on fields the user must fill in, and isOptional to clarify which fields can be skipped.
All three validation states: error, warning, and success. Use error for invalid input, warning for potential issues like reserved names, and success to confirm valid entries like API keys.
Standalone field labels demonstrating required, optional, tooltip, and icon variations.
Standalone labels with required and optional indicators and a helper description. Use when labeling a custom control that does not render its own label.
Astryx showcase: FileInput.
A controlled single-file upload with accepted types, a size limit, and helper text. Use for standard document upload fields in forms.
A vertical form layout with text input fields.
Two fields side by side for naturally paired inputs like first and last name
Form with different control types: text input, selector, and checkboxes
Address form mixing vertical and horizontal layouts for grouped fields
Settings form with labels placed beside their inputs
Astryx showcase: InputGroup.
A currency field with static prefix and suffix addons around a TextInput. Use InputGroupText to clarify units or input format.
Astryx showcase: MultiSelector.
Column visibility toggle with hidden label, search, select-all, and selection count.
Two multi-selectors in a form with required/optional states.