Rust UI component that displays a label for an input field.
- Copy Demo
Label Demo
Installation
You can run either of the following commands:
# cargo install ui-cli --forceui add demo_labelui add label
Update the imports to match your project setup.
Usage
use crate::components::ui::label::Label;
<Label r#for="input-id">"Label text"</Label>