Skip to content

Import

import { TextCounter } from '@dnb/eufemia/fragments'

Description

The TextCounter is a component designed to provide real-time character count feedback in text input fields.

It provides the correct text translations and color and a visual indicator of the remaining characters.

It is used in the Textarea component.