> ## 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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/input-types_light1.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=93a17b083832ed7b7d82d9deeb9e39da" alt="Light Mode Image" width="1080" height="267" data-path="legacy/library/assets/inputs-assets/input-types_light1.svg" />

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

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/input-sizes_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=5d8bbdfc863b9cf69cf923d610ca42eb" alt="Light Mode Image" width="1080" height="228" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/textInput-types_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=715bd60e68ce5b778104a3108bc448c9" alt="Light Mode Image" width="1080" height="195" data-path="legacy/library/assets/inputs-assets/textInput-types_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/textInput-types_light-1.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=9467ecccace8f79b6d42cd30bcd7e1fb" alt="Dark Mode Image" width="1080" height="195" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/numericalInput-types_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=7af162af77386e1f4db4646907d3d96b" alt="Light Mode Image" width="1080" height="195" data-path="legacy/library/assets/inputs-assets/numericalInput-types_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/numericalInput-types_light-1.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=76c06681bd364d3cecdc8e8c86e983fa" alt="Dark Mode Image" width="1080" height="195" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/input-anatomy_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=a6b433f77ed82c6d39282ae06a0b7e05" alt="Light Mode Image" width="1080" height="230" data-path="legacy/library/assets/inputs-assets/input-anatomy_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/input-anatomy_light-2.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=b1aaf51c1aa0c6c41d31f27d3919db08" alt="Dark Mode Image" width="1080" height="230" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/select-sizes_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=e280e38569464b760f5ab2dea0e5b0af" alt="Light Mode Image" width="1080" height="228" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/select-types_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=7f4d15a268848bbfcaff449fc15882e7" alt="Light Mode Image" width="1080" height="371" data-path="legacy/library/assets/inputs-assets/select-types_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/select-types_dark.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=fa91148e9d006d3e00a001e15d2a9e1d" alt="Dark Mode Image" width="1080" height="371" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/select-anatomy_light1.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=6e78112b0c4cc2ac5208e7891f12f64b" alt="Light Mode Image" width="1080" height="346" data-path="legacy/library/assets/inputs-assets/select-anatomy_light1.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/select-anatomy_dark1.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=a6cda6d59f59f135992b8e112b576543" alt="Dark Mode Image" width="1080" height="346" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/radioGroup-variants_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=08cf5464d11f571826800cea1f10e81c" alt="Light Mode Image" width="1080" height="253" data-path="legacy/library/assets/inputs-assets/radioGroup-variants_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/radioGroup-variants_dark.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=d72d79ead7c16776ab4a678770e71df1" alt="Dark Mode Image" width="1080" height="253" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/radioGroup-anatomy_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=5bb05ef440a54e29f428eb21f5b071fe" alt="Light Mode Image" width="1080" height="243" data-path="legacy/library/assets/inputs-assets/radioGroup-anatomy_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/radioGroup-anatomy_dark1.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=35e3e3b59b3eb657ac5a8b6225107a28" alt="Dark Mode Image" width="1080" height="243" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/slider-variants_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=f2dc72411b8d8e0ef7c6c09a42eee843" alt="Light Mode Image" width="1080" height="183" data-path="legacy/library/assets/inputs-assets/slider-variants_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/slider-variants_dark1.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=e21274b769fed6516151127ab9051fcf" alt="Dark Mode Image" width="1080" height="183" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/slider-anatomy_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=87b2c1bba869e0132afb6c13837f86bc" alt="Light Mode Image" width="1080" height="201" data-path="legacy/library/assets/inputs-assets/slider-anatomy_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/slider-anatomy_dark1.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=c003a28c8665cd8421be2e451e1e38f4" alt="Dark Mode Image" width="1080" height="201" data-path="legacy/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/InTNqEKTMdilh3PP/legacy/library/assets/inputs-assets/datePicker-variants_light.svg?fit=max&auto=format&n=InTNqEKTMdilh3PP&q=85&s=770e3faf2a3abf671b2f7ff41edff5e8" alt="Light Mode Image" width="1080" height="549" data-path="legacy/library/assets/inputs-assets/datePicker-variants_light.svg" />

<img className="hidden w-full dark:block select-none drag-none" src="https://mintcdn.com/thesys/InTNqEKTMdilh3PP/legacy/library/assets/inputs-assets/datePicker-variants_dark.svg?fit=max&auto=format&n=InTNqEKTMdilh3PP&q=85&s=273342b573c458afdd1e4aa19d4d969c" alt="Dark Mode Image" width="1080" height="549" data-path="legacy/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/InTNqEKTMdilh3PP/legacy/library/assets/inputs-assets/datePicker-anatomy_light.svg?fit=max&auto=format&n=InTNqEKTMdilh3PP&q=85&s=0e6846083ed19c7a58d3882f0de58ad1" alt="Light Mode Image" width="1080" height="500" data-path="legacy/library/assets/inputs-assets/datePicker-anatomy_light.svg" />

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

<img className="block w-full dark:hidden select-none drag-none" src="https://mintcdn.com/thesys/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/datePicker-year-month_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=a47001ae871a0729d92388e6a1472874" alt="Light Mode Image" width="1080" height="537" data-path="legacy/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/InTNqEKTMdilh3PP/legacy/library/assets/inputs-assets/datePicker-year-month_dark2.svg?fit=max&auto=format&n=InTNqEKTMdilh3PP&q=85&s=72358fe3bf04c57f8a8a75b98fb00d19" alt="Dark Mode Image" width="1080" height="537" data-path="legacy/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/FKXNpn4Pw_Bq7YCt/legacy/library/assets/inputs-assets/form-anatomy_light.svg?fit=max&auto=format&n=FKXNpn4Pw_Bq7YCt&q=85&s=9128a2ecb0df6d2a2a72639f598187f3" alt="Light Mode Image" width="1080" height="619" data-path="legacy/library/assets/inputs-assets/form-anatomy_light.svg" />

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