Label

Labels used in forms to provide descriptions for inputs

The label component wraps a HTML <label>, which provides screen-reader support and extra clickable parts for forms. This label provides a slightly stricter subset of fl-text's styling for form consistency.

Contents

Inputs
for : string

This is for accessibility. ID of the input that this label is associated

color ?: any = FontColor.FOREGROUND
size ?: TextSize = TextSize.XSMALL
sizeDesktop ?: TextSize
sizeTablet ?: TextSize
weight ?: any = FontWeight.NORMAL