Koori UI
Components

GlassLabel

An accessible label associated with form controls.

Preview

Usage

import { GlassLabel, GlassInput } from "koori-ui";
 
<GlassLabel htmlFor="email">Email</GlassLabel>
<GlassInput id="email" type="email" />

Props

PropTypeDefaultDescription
htmlForstringThe id of the form control the label is bound to

All native <label> props are also accepted.

On this page