React Form Input Group Component API

Form Input Group API

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

On this page

CInputGroup#

import { CInputGroup } from '@coreui/react'
// or
import CInputGroup from '@coreui/react/src/components/form/CInputGroup'
PropertyDefaultType
className#-string

A string of all className you want applied to the component.

size#-'sm', 'lg'

Size the component small or large.

CInputGroupText#

import { CInputGroupText } from '@coreui/react'
// or
import CInputGroupText from '@coreui/react/src/components/form/CInputGroupText'
PropertyDefaultType
as#-(ElementType & 'symbol'), (ElementType & 'object'), (ElementType & 'span'), (ElementType & 'form'), (ElementType & 'slot'), ... 174 more ..., (ElementType & FunctionComponent<...>)

Component used for the root node. Either a string to use a HTML element or a component.

className#-string

A string of all className you want applied to the component.