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

Drawer List

The DrawerList component is a fragment inside other components.

Scroll View

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

Text Counter

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