UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

48 lines (32 loc) 954 B
--- version: 10.104.0 generatedAt: 2026-04-17T18:46:12.765Z checksum: 090b7d977ba4be5e2c4c04d199a30a4048416c59f443a56985df2f80629d9c40 --- <Intro> # Section Component A commonly used visual style is the DNB section divider. To make it easy to achieve this in your layout setup, have a look at the [Section component](/uilib/components/section). ## React: ```jsx import { Section } from '@dnb/eufemia' render( <Section backgroundColor="mint-green" spacing> Visual DNB Section </Section> ) ``` ## CSS: ```html <div className="dnb-section dnb-section--spacing dnb-section--mint-green"> Visual DNB Section </div> ``` ## Demo: <div className="dnb-section dnb-section--spacing dnb-section--mint-green"> Visual DNB Section </div> ## More helpers You may have a look on all the CSS and JavaScript [helpers](/uilib/helpers) which comes included in the package. --- <IntroFooter href="/uilib/intro/15-summary" text="Summary" /> </Intro>