# Input

### Key Features

**Custom HTML Attributes**: Supports the addition of a variety of HTML attributes to the input element, allowing for extensive customization and accessibility enhancements. **Optional Child Elements**: Allows for the inclusion of additional rendered elements alongside the input field, providing flexibility for complex form designs. **Class Management**: Integrates options for removing default classes and adding custom utility classes for tailored styling.

### Customization Options

**Removing Default Classes**: The template includes an option (remove\_form\_control) to omit the default 'form-control' class, particularly useful for checkboxes and radio buttons. **Utility Classes**: Additional utility classes (input\_utility\_classes) can be applied for more specific styling needs, offering a high degree of customization.

### Usage

```twig
{% include 'radix:input' with {
  attributes: attributes.removeClass('button'),
  remove_form_control: false,
  input_utility_classes: ['the-class', 'the-other-class'],
} %}
```
