> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thesys.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Form Elements

> Allow users to enter or select values within an interface to gather user intent for the system to respond with relevant actions or information.

**Includes:** `Input`, `Select`, `RadioGroup`, `CheckboxGroup`, `Slider`, `DatePicker`

## Inputs

**Definition**\
An input field is a form component that allows users to enter data directly, such as text, numbers, or other characters, by typing or pasting into the field.

**Uses**\
**-** Capture freeform data such as names, emails, phone numbers, or search queries.\
**-** Collect structured inputs like dates, times, passwords, or numeric values with formatting/validation.\
**-** Support longer responses for feedback, notes, or descriptions.

### Types

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/input-types_light1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=d119ee1c73ef78203fb981e0b1e74fcc" alt="Light Mode Image" width="1080" height="267" data-path="library/assets/inputs-assets/input-types_light1.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/input-types_dark1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=7f78e21fc58571e6948a55d9556e7a23" alt="Dark Mode Image" width="1080" height="267" data-path="library/assets/inputs-assets/input-types_dark1.svg" />

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/input-sizes_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=7c8314a28803af9ff6c696357cea7ea4" alt="Light Mode Image" width="1080" height="228" data-path="library/assets/inputs-assets/input-sizes_light.svg" />

### Types of Text-Based Inputs

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/textInput-types_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=ec30da39f394f13b7d992a0fadd53c5f" alt="Light Mode Image" width="1080" height="195" data-path="library/assets/inputs-assets/textInput-types_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/textInput-types_light-1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=dbfd71ec9bd1ac381751ee4b1ae6b896" alt="Dark Mode Image" width="1080" height="195" data-path="library/assets/inputs-assets/textInput-types_light-1.svg" />

### Types of Numerical Inputs

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/numericalInput-types_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=b92e4fc9f4e0055dee62f95a4d12cfeb" alt="Light Mode Image" width="1080" height="195" data-path="library/assets/inputs-assets/numericalInput-types_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/numericalInput-types_light-1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=5009b40c8a1c0b1eefb0e715d1ef312b" alt="Dark Mode Image" width="1080" height="195" data-path="library/assets/inputs-assets/numericalInput-types_light-1.svg" />

### Anatomy

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/input-anatomy_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=2f923e1fe225f9936ae8544b8e5ca541" alt="Light Mode Image" width="1080" height="230" data-path="library/assets/inputs-assets/input-anatomy_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/input-anatomy_light-2.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=7dac49f4d495576a3e7a9bdb26aa7710" alt="Dark Mode Image" width="1080" height="230" data-path="library/assets/inputs-assets/input-anatomy_light-2.svg" />

### Customize with Prompts

* **Specific Input Types:** Ask C1 to create input fields that accept only specific input types like numbers, letters, include special characters etc.

  > Ex. *"Create an integer input for years of experience."*
* **Label, Placeholder, and Hint/Helper Text:** Ask C1 to use your specified label, placeholder, or helper text, or change their tone or specificity.

> Ex. *"Create a user feedback form with the placeholder 'Tell us your thoughts...' and the helper text 'This helps us make your experience better'."*

***

## Select

**Definition**\
A select input field is a form component that, when interacted with, displays a dropdown menu containing a predefined list of options.

**Uses**\
**-** Provides a clean, space-efficient way to present multiple finite choices to pick from.\
**-** Collecting standardized personal data from users.\
**-** Provide filtering and sorting options for content.\
**-** Preferences and settings options for users to select from.

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/select-sizes_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=b7fb0a87c8b20c1929eaa78e6e1a62a0" alt="Light Mode Image" width="1080" height="228" data-path="library/assets/inputs-assets/select-sizes_light.svg" />

***

### Types

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/select-types_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=e1ff9795eacc0401f514972e8903371c" alt="Light Mode Image" width="1080" height="371" data-path="library/assets/inputs-assets/select-types_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/select-types_dark.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=8d51619e3d8cc61ecdde8fbf1cf4cc1e" alt="Dark Mode Image" width="1080" height="371" data-path="library/assets/inputs-assets/select-types_dark.svg" />

### Anatomy

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/select-anatomy_light1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=619ba863fada5313baafc1c881e442cf" alt="Light Mode Image" width="1080" height="346" data-path="library/assets/inputs-assets/select-anatomy_light1.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/select-anatomy_dark1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=b148fed5ac1b403aa7ec13848d5ba84d" alt="Dark Mode Image" width="1080" height="346" data-path="library/assets/inputs-assets/select-anatomy_dark1.svg" />

### Customize with Prompts

* **Dropdown Menu Structure:** Prompt C1 to create a dropdown menu with specified labels, grouped options and separators between each group.

  > Ex. *"Create a support form with a dropdown for inquiry type. Organize options with labeled sections: 'Sales Questions' (General Sales, Pricing, Demos), 'Technical Support' (Bug Reports, Installation Help, Account Issues), and 'Business' (Partnerships, Billing, Refunds). Use separators between each section and arrange in logical order."*
* **Customize Select Field:** Use custom placeholder text and mention whether a specified option should be selected by default.

  > Ex. *"Create a product order form for shipping method. Use custom placeholder 'Choose your preferred delivery option' and set 'Standard Shipping' as the default selection. Include options for Express, Standard, and Economy shipping."*

***

## Radio Group

**Definition**\
A radio group is a list of mutually exclusive options where the user can select one option from a given set.

**Uses**\
**-** Exposes all available options to the user upfront, reducing clicks and enabling easy comparison.\
**-** Leverages user familiarity to clearly indicate that only one option can be chosen.\
**-** Suitable for forms, settings, quizzes and surveys where only one valid answer is possible.

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/radioGroup-variants_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=94302bdab0ba408a610a074ce0a2a801" alt="Light Mode Image" width="1080" height="253" data-path="library/assets/inputs-assets/radioGroup-variants_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/radioGroup-variants_dark.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=9f0687abf047a32310ee608987e75554" alt="Dark Mode Image" width="1080" height="253" data-path="library/assets/inputs-assets/radioGroup-variants_dark.svg" />

### Anatomy

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/radioGroup-anatomy_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=0561801f3172fed214779a2a70a24568" alt="Light Mode Image" width="1080" height="243" data-path="library/assets/inputs-assets/radioGroup-anatomy_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/radioGroup-anatomy_dark1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=f0c89947c564316f1edc8264b0817e14" alt="Dark Mode Image" width="1080" height="243" data-path="library/assets/inputs-assets/radioGroup-anatomy_dark1.svg" />

### Customize with Prompts

* **Options and Labels:** Choose how many Radio Items should be displayed, their sequence and content.

  > Ex. *"Create a radio group for size options, ordered from smallest to largest: XS, S, M, L, XL."*
* **Default Selection:** Specify whether an option should appear pre-selected in a Radio Group.

  > Ex. *"Set 'Auto' as the default selected option."*

***

## Checkbox Group

**Definition**\
A checkbox UI component is an input element that lets users select or deselect one or more independent options from a set.

**Uses**\
**-** Checkbox groups with multiple items let users select one or more options from a given list.\
**-** Single checkboxes let users confirm agreement or consent, toggle preferences and enable/select optional features in a flow.\
**-** Let users perform administrative tasks like bulk actions (select multiple items to take action with).

### Anatomy

### Customize with Prompts

* **Checkbox Item Properties:** Specify the number and order of checkbox items, their content, and what sequence they should be arranged in.

  > Ex. *"Create checkboxes for 3 meal preferences: Vegetarian, Vegan, Gluten-free"*
* **Default Selection:** Tell C1 whether a checkbox item(s) should be checked by default.

  > Ex. *"Make the 'Agree to terms' checkbox pre-checked."*

***

## Slider

**Definition**\
A slider is a type of input field that lets users select a value or a range of values from a continuous pre-defined scale by dragging a handle along a track.

**Uses**\
**-** Adjusting settings like volume, brightness and intensity of states like image filters, zoom levels, playback speed, etc.\
**-** Filtering content by a range of values like price, age, date, distance radius, etc.\
**-** Timeline scrubbing, progress indicators, setting thresholds and inputs such as rating scales/satisfaction scores.

### Variants

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/slider-variants_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=d14f4210231af5650ed5203cc06b5895" alt="Light Mode Image" width="1080" height="183" data-path="library/assets/inputs-assets/slider-variants_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/slider-variants_dark1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=26693f5d407a9d7ed2e8453816ac2c63" alt="Dark Mode Image" width="1080" height="183" data-path="library/assets/inputs-assets/slider-variants_dark1.svg" />

### Anatomy

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/slider-anatomy_light.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=cf20f27662b1cd335e0e3d31a68d1202" alt="Light Mode Image" width="1080" height="201" data-path="library/assets/inputs-assets/slider-anatomy_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/7KJeXsvMznH0nJ6c/library/assets/inputs-assets/slider-anatomy_dark1.svg?fit=max&auto=format&n=7KJeXsvMznH0nJ6c&q=85&s=3dc048ae1bbebe4cae8ef3d4d97c3bd6" alt="Dark Mode Image" width="1080" height="201" data-path="library/assets/inputs-assets/slider-anatomy_dark1.svg" />

### Customize with Prompts

* **Slider Variant and Selection Type:** Choose the slider variant, continuous (smooth) or discrete (stepped), and selection mode (single value or range) that C1 should generate. In case of discrete sliders, define increment size.

> Ex. *"Add a continuous price range slider from \$0 to \$2000, default range \$200-\$800, for filtering laptops."*

* **Set Slider Limits and Values:** Specify the minimum and maximum values, whether negatives/decimals are allowed, and any default value or range.

  > Ex. *"Add a star rating slider from 1.0 to 5.0 stars, allow half-star increments (0.5 steps)."*
* **Add Visual Cues:** Optionally, include icons on either end of the slider as visual indicators of its direction and function.

  > Ex. *"Create a continuous zoom slider for image viewer.*
  >
  > * *Range: 10% to 500%*
  > * *Default: 100%*
  > * *Left icon: zoom-out (magnifying glass with minus)*
  > * *Right icon: zoom-in (magnifying glass with plus)"*

***

## Date Picker

**Definition**\
A date picker is an input component that lets users select dates or a range of dates from a calendar interface that appears temporarily on interaction with a select field.

**Uses**\
**-** Eliminate user effort and errors of manual typing for a formatted input like date(s).\
**-** Let users enter personal data (birthdays, anniversaries, deadlines) etc.\
**-** Select date/start and end dates for booking and reservations.\
**-** Filter records/content by specific dates or ranges.\
**-** Selecting and managing important dates for records, contracts, regulatory compliance, and financial periods.

### Variants

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/onCkg8rRXhzVrBt1/library/assets/inputs-assets/datePicker-variants_light.svg?fit=max&auto=format&n=onCkg8rRXhzVrBt1&q=85&s=c27fd458bcce2cae4eda402918f81ec0" alt="Light Mode Image" width="1080" height="549" data-path="library/assets/inputs-assets/datePicker-variants_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/onCkg8rRXhzVrBt1/library/assets/inputs-assets/datePicker-variants_dark.svg?fit=max&auto=format&n=onCkg8rRXhzVrBt1&q=85&s=a74c3e43894d8af175abeb4ea90f5f17" alt="Dark Mode Image" width="1080" height="549" data-path="library/assets/inputs-assets/datePicker-variants_dark.svg" />

### Anatomy

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/onCkg8rRXhzVrBt1/library/assets/inputs-assets/datePicker-anatomy_light.svg?fit=max&auto=format&n=onCkg8rRXhzVrBt1&q=85&s=163f23b302f3dc5684e007e0fbf3ca6b" alt="Light Mode Image" width="1080" height="500" data-path="library/assets/inputs-assets/datePicker-anatomy_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/onCkg8rRXhzVrBt1/library/assets/inputs-assets/datePicker-anatomy_dark1.svg?fit=max&auto=format&n=onCkg8rRXhzVrBt1&q=85&s=fbb8e140b9084f5fa408256d6ad5376d" alt="Dark Mode Image" width="1080" height="500" data-path="library/assets/inputs-assets/datePicker-anatomy_dark1.svg" />

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/onCkg8rRXhzVrBt1/library/assets/inputs-assets/datePicker-year-month_light.svg?fit=max&auto=format&n=onCkg8rRXhzVrBt1&q=85&s=40f6928a1b28e55974731eba29adf55c" alt="Light Mode Image" width="1080" height="537" data-path="library/assets/inputs-assets/datePicker-year-month_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/onCkg8rRXhzVrBt1/library/assets/inputs-assets/datePicker-year-month_dark2.svg?fit=max&auto=format&n=onCkg8rRXhzVrBt1&q=85&s=d85f4a5a286f3b563a043662374b052e" alt="Dark Mode Image" width="1080" height="537" data-path="library/assets/inputs-assets/datePicker-year-month_dark2.svg" />

### Customize with Prompts

* **Selection Mode:** Specify whether the date picker should allow selecting a single date or a range of dates.

  > Ex. *"Create a single date picker for selecting date of birth."*
* **Validation Rules:** Set a limit to the range of dates that can be selected, and how far in the past and future users would be allowed to make the selection.

  > Ex. *"Add a single date picker for appointment dates that:*
  >
  > * *Allows dates starting from tomorrow (no same-day bookings)*
  > * *Goes up to 6 months in the future maximum*
  > * *Restricts selection to weekdays only"*

***

## How to Make Forms Using Form Elements

### Anatomy

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/onCkg8rRXhzVrBt1/library/assets/inputs-assets/form-anatomy_light.svg?fit=max&auto=format&n=onCkg8rRXhzVrBt1&q=85&s=60efd6f014f91410d6329cebcfd3c9a3" alt="Light Mode Image" width="1080" height="619" data-path="library/assets/inputs-assets/form-anatomy_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/onCkg8rRXhzVrBt1/library/assets/inputs-assets/form-anatomy_dark1.svg?fit=max&auto=format&n=onCkg8rRXhzVrBt1&q=85&s=3650f563068797912b56249a20f99c18" alt="Dark Mode Image" width="1080" height="619" data-path="library/assets/inputs-assets/form-anatomy_dark1.svg" />

<Steps>
  <Step title="Define the purpose of your form">
    * Who will use this form?
    * What's the end goal?
    * When and where will they encounter it?

      > Ex. *"Build a contact form for support requests"*
  </Step>

  <Step title="Specify required information">
    * List the specific information you need to collect
    * Include any choices, confirmations, or agreements the user needs to provide

      > Ex. *"Create a registration form with username, email, password, confirm password, and agree to terms checkbox"*
  </Step>

  <Step title="Choose input types">
    * C1 chooses appropriate input types based on your field requirements, but you can customize if needed.

      > Ex. *"Include a text area for detailed feedback rather than a single line"*
  </Step>

  <Step title="Add or modify labels or hints">
    * Request specific label or hint content if needed.

      > Ex. *"Add reassuring privacy hints for sensitive data collection"*
  </Step>

  <Step title="Define actions and next steps">
    * Specify what actions users can take after filling the form

      > Ex. *"Include both Submit and Cancel buttons"*
  </Step>
</Steps>
