inputscss

Form

Styling for native form controls: inputs, selects, textareas, radios, checkboxes, ranges, toggle switches, labels, icons, sizes, and selectable card/field layouts.

Notes

  • These classes style native controls; the custom z-select dropdown and the input-* web components are separate components.
  • Control sizes (.z-form-xsmall through .z-form-large) work by overriding the global --z-interactive-*-multiplier tokens, which recompute the input height and padding.
  • Radio/checkbox marks, input radius and shadow, and the toggle-switch shadow are theme hooks (--z-form-*-image, --z-form-input-radius, --z-form-input-shadow, --z-form-toggle-switch-shadow) supplied outside this file.