UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

34 lines (22 loc) 847 B
--- title: 'Documentation' version: 11.3.0 generatedAt: 2026-05-19T08:46:50.025Z checksum: 090b7d977ba4be5e2c4c04d199a30a4048416c59f443a56985df2f80629d9c40 --- # Documentation The documentation is written in enhanced Markdown, called MDX. It allows us to import other Markdown files along with React components and JavaScript logic. ## Handling themes If you need to show some documentation only for when a certain theme is selected, you can do so: ```md ## Eiendom examples Text <SpecialExample /> ``` ### Link to a specific theme You can add a parameter called `eufemia-theme` to a url: ```md [Relative](/uilib/components/badge/demos/?eufemia-theme=sbanken) Absolute: https://eufemia.dnb.no/uilib/components/badge/demos/?eufemia-theme=sbanken ``` It will change and set the currently used theme once the user visits the related page.