Label

The name of a field: 14/500, with an optional “Optional”.

View source
import { Label } from "@logicplanes/kaeso-ui";

Props

  • children
    ReactNode

    The label's text.

  • optional
    boolean

    Adds a quiet "Optional" after the label.

  • size
    "md" | "sm" = md

    The label's text size.