cnippet/ui
  1. docs
  2. core components
  3. forms

guides

Forms

Inputs, fields, and controls for collecting and validating user input.

Form components handle user input — text, selection, and numeric entry — with built-in labeling, validation, and grouping primitives.

  • Checkbox — A control that allows the user to toggle between checked and not checked.
  • Checkbox Group — Groups multiple checkboxes so their selection state can be managed together.
  • Field — Wraps a form control with a label, description, and validation message.
  • Fieldset — Groups related form fields together under a common legend.
  • Form — A wrapper that manages form-wide validation state.
  • Input — A field that lets users enter and edit text.
  • Input Group — Composes an input with adornments like icons, buttons, or text.
  • Label — Renders an accessible label associated with a form control.
  • Meter — Displays a scalar value within a known range, like disk usage.
  • Number Field — An input restricted to numeric values, with increment/decrement controls.
  • OTP Field — A segmented input for one-time passcodes and verification codes.
  • Radio Group — A set of checkable buttons where only one can be checked at a time.
  • Slider — Allows users to select a value or range from within a given range.
  • Textarea — A multi-line text input field.