Fragments

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

You may use them only to build new components from.

Import

They are a part of components anyway, so you import them like so:

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

Available Fragments

DrawerList

The DrawerList component is a fragment inside other components.

ScrollView

ScrollView is a tiny helper component to allow Eufemia controlling the UX.