Components

Character Counter

Character Counter is a flexible utility component used to tally the remaining number of text characters available for input.

5
-50
import { CharacterCounter } from '@sproutsocial/racine'

Properties

System props

System props apply standard sets of properties to a component that can be used to alter its appearance on the fly.

NameTypeDefaultDescriptionRequired?
currentValuenumber
Current value of relative input/textarea
maxValuenumber
Max amount of characters for input/textarea
size"default""mini""default"
Size of the Counter