When to use it
It never truncates; validate the limit on submit.
Show how many characters remain for a text field.
Native example
It never truncates; validate the limit on submit.

Captured exampleExpo web renderer
Open interactive previewimport { LumenCharacterCount, LumenTextarea } from '@santi020k/lumen-react-native'
import { useState } from 'react'
import { View } from 'react-native'
export function BioField() {
const [bio, setBio] = useState('')
return (
<View style={{ gap: 6 }}>
<LumenTextarea label="Bio" value={bio} onChangeText={setBio} />
<LumenCharacterCount text={bio} max={160} />
</View>
)
}Reference
The primary shared and platform-specific options exposed by LumenCharacterCount.
| API | Values or type | Default | Description |
|---|---|---|---|
| max / value / announceAt | limit / current text / thresholds | required / required / 20, 10, 0 | It never truncates; validate the limit on submit. |
Native behavior
It never truncates; validate the limit on submit.
Counts graphemes and announces only at thresholds and at the limit.
Shared component