Subcomponents are utilities used to create bespoke components.
Subcomponents are used internally by Nebula to create other components. They are exported as a utility to help create bespoke components.
Field wraps inputs, handling the label, hint, and error states. Any additional props are passed to the child element (input). To make use of the characters and fullWidth functionality, inputs should be 100% width.
affixWidthAccount for an icon when calculating width based on characters
...Passed to the child element
Inputs are the underlying inputs used in our fields. The following are available:
The properties available may differ depending on the input used, but they are all built from the same base which supports the following properties.