Skip to content

Label

Last updated 27 Oct 2026

NbLabel is a lightweight label element for associating descriptive text with form controls. Use it standalone or let NbTextInput manage it automatically.

Accessibility ​

  • Renders a native <label> element; clicking it focuses the associated input via for.
  • The required asterisk is aria-hidden="true" so screen readers use the required attribute on the input instead.