pub fn Label(props: LabelProps) -> impl IntoViewExpand description
§Required Props
- children:
Children
§Optional Props
- class:
impl Into<MaybeProp<String>> - size:
impl Into<Signal<LabelSize>>- A label supports different sizes.
- weight:
impl Into<Signal<LabelWeight>>- A label supports regular and semibold fontweight.
- required:
impl Into<Signal<bool>>- Displays an indicator that the label is for a required field.
- disabled:
impl Into<Signal<bool>>- Renders the label as disabled.