Components by category#
Actions#
Buttons and controls for starting actions or opening choices.
- Button
Use Button when people need to start, confirm, or submit an action.
- Help button
Use HelpButton when a short explanation should be available next to a label or control.
- Menu
Use Menu when people need to choose from a small list of actions or links.
- Vipps wallet button
A branded Vipps wallet call-to-action button extension.
Inputs#
Controls for entering information, choosing options, and uploading files.
NB: When creating application forms, use Eufemia Forms instead of composing forms from the base components below.
- Autocomplete
Use Autocomplete to help people find and choose from matching suggestions as they type.
- Checkbox
Use Checkbox when people can turn one or more options on or off.
- Date picker
Use DatePicker when people need to choose one date or a date range.
- Dropdown
Use Dropdown when people need to choose one option from a list.
- Filter
Use Filter to help people narrow down a list or data set.
- Input
Use Input when people need to enter a short line of text.
- Masked input
Use InputMasked when people must enter text in a fixed format.
- Radio button
Use Radio when people must choose one option from a set.
- Slider
Use Slider when people need to choose a value from a range.
- Switch
Use Switch when people can turn one setting on or off.
- Text area
Use Textarea when people need to write longer text over several lines.
- Text counter
Use TextCounter to show how many characters someone has typed or can still type.
- Toggle button
Use ToggleButton when people can turn one or more visible choices on or off.
- Upload
Use Upload when people need to choose or drag files into a page.
Navigation#
Components for moving between pages, sections, and steps.
- Breadcrumb
Use Breadcrumb to show where someone is and let them move back up the path.
- Infinite scrolling
Use InfinityScroller to load more content automatically as people scroll.
- Pagination
Use Pagination to split long content into pages or load more content as people move through it.
- Sidebar menu
Use SidebarMenu for persistent navigation with sections and nested groups.
- Step indicator
Use StepIndicator to show progress through a process with several steps.
- Tabs
Use Tabs to let people switch between related views on the same page.
- Text link
Use Anchor to take people to another page, section, or website.
Feedback and dialogs#
Messages, progress indicators, and dialogs that explain what is happening or needs attention.
- Badge
Use Badge to highlight new, unread, or important information.
- Dialog
Use Dialog when people need to make a choice or read an important message before continuing.
- Drawer
Use Drawer to show extra content in a panel that slides in from the side.
- Form status
Use FormStatus to show validation errors, warnings, or messages near a form.
- Global error
Use GlobalError to show a clear 404 or 500 error page.
- Global status
Use GlobalStatus to show important page-level messages or a summary of form errors.
- Modal
Use Modal when people must focus on one task or message before returning to the page.
- Popover
Use Popover to show a small floating panel connected to a trigger.
- Progress indicator
Use ProgressIndicator to show that something is loading or processing.
- Skeleton
Use Skeleton to show where content will appear while it is loading.
- Tooltip
Use Tooltip to give a short hint or explanation for nearby content.
Content and layout#
Components for organizing and displaying information, images, icons, and tables.
- Accordion
Use Accordion to let people open and close sections of related content.
- Avatar
Use Avatar to make a person, company, or profile easier to recognize.
- Card
Use Card to group related content in a clear, separated area.
- Country flags
Use CountryFlag to show a country by its flag from an ISO country code.
- Icon component
Use Icon to render and size an icon in line with Eufemia styling.
- Info card (deprecated)
InfoCard is deprecated. Use Card.Info with composed children for information and tips.
- List
Use List to show rows of related content, with optional actions or navigation.
- Logos
Use Logo to show the DNB logo with the correct SVG and styling.
- Payment card
The Payment Card component is used to display payment card information in a standardized format.
- Section
Use Section to give an area of the page a visual background or surface.
- Statistics
Use Stat to highlight an important number, label, or trend.
- Table
Use Table to show structured data in rows and columns.
- Tag
Use Tag to show a small label, status, or selected value.
- Term definition
Use TermDefinition to explain a word or phrase without leaving the page.
- Timeline
Use Timeline to show events or steps in chronological order.
Formatting and typography#
Components for formatting dates, numbers, lists, and text.
- Date format
Use DateFormat to show dates in the correct DNB format.
- Form label
Use FormLabel to name an input, control, or form-related field.
- Heading
Use Heading to create accessible page headings with the correct level.
- List format
Use ListFormat to show lists of values in the correct DNB format.
- Number format
Use NumberFormat to show numbers in the correct DNB format.
Accessibility#
Components for announcements, keyboard navigation, and screen reader content.
Utilities#
Components for scrolling, animation, copying, and rendering outside the page flow.
- Copy on click
Use CopyOnClick when people should copy text by clicking it.
- Height animation
Use HeightAnimation to animate content as it opens or closes.
- Portal root
Use PortalRoot to render floating content outside the normal page structure.
- Scroll view
Use ScrollView when content needs its own horizontal or vertical scrolling area.