Skip to content

Fragments

Import

You import them like so:

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

Description

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

You may use them only to build new components from.

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.