Skip to main content

Label

Function Label 

Source
pub fn Label(props: LabelProps) -> Element
Expand description

Renders the official label associated with the caller’s control identifier.

  • Complexity: O(attributes + children) render work.

§Examples

use adam_web_ui::components::label::Label;
use dioxus::prelude::*;
fn app() -> Element { rsx! { Label { html_for: "name", "Name" } } }