Skip to content

Fragments

Fragments are small, low-level and reusable parts used inside other components.

You may use them only to build new components from.

Import

You import them like so:

import {
DrawerList,
ScrollView,
TextCounter,
} from '@dnb/eufemia/fragments'

Available Fragments

DrawerList

The DrawerList component is a fragment inside other components.

ScrollView

ScrollView is a tiny helper component helping the user controlling overflowing content horizontally or vertically

TextCounter

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