Skip to content

Import

import { FormLabel } from '@dnb/eufemia'

Description

The FormLabel component represents a caption for all sorts of HTML elements in a user interface. By default, the label is displayed vertically (above the element). Use vertical={false} or labelDirection="horizontal" for inline labels.

Relevant links

Colon character

DNB UX has chosen to not use colon on the end of form element labels. For consistency throughout our websites, please avoid using them.