# React Form Input Group Component API

> Explore the API reference for the React Form Input Group component and discover how to effectively utilize its props for customization.

## CInputGroup

```jsx
import { CInputGroup } from '@coreui/react-pro'
```

### Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string \| undefined` | - | A string of all className you want applied to the component. |
| `size` | `"sm" \| "lg" \| undefined` | - | Size the component small or large. |

## CInputGroupText

```jsx
import { CInputGroupText } from '@coreui/react-pro'
```

### Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `as` | `(ElementType & "symbol") \| (ElementType & "object") \| (ElementType & "span") \| (ElementType & "form") \| (ElementType & "slot") \| ... 175 more ... \| undefined` | `span` | Component used for the root node. Either a string to use a HTML element or a component. |
| `className` | `string \| undefined` | - | A string of all className you want applied to the component. |
