Label

Gives the label a distinct look.

Installation

ng g @spartan-ng/cli:ui label

Usage

import { HlmLabelImports } from '@spartan-ng/helm/label';
<label hlmLabel for="email">Your email address</label>

RTL

To enable RTL support in spartan-ng, see the RTL configuration guide.

Brain API

BrnLabel

Selector: [brnLabel]

Inputs

PropTypeDefaultDescription
id string `brn-label-${++BrnLabel._id}` The id of the label.
for string - The id of the form control this label is associated with.

Helm API

HlmLabel

Selector: [hlmLabel]

Menubar Kbd