FormLabel

Label describes the field in a short and concise way. Depending on the input type, it appears before or after it.

FormLabelBosons

Text
Text in label.
type: string
For
Id of relation with input.
type: string
Optional
Additional text for label.
type: string
Pointer
Is cursor should be pointer.
type: bool
default: false

Examples

Standard label
1// Standard label
2
3@atoms.FormLabel(&atoms.FormLabelBosons{
4  Text: "Email:", 
5  For: "email",
6})
Label width description and pointer cursor
1// Standard label
2
3@atoms.FormLabel(&atoms.FormLabelBosons{
4  Text: "Email", 
5  For: "email", 
6  Optional: "(Additional optional description for label)", 
7  Pointer: true,
8})

Let's dive deeper and connect!

Hanariu is brought to you by Pay For Done. We specialize in crafting products and services rooted in design systems. Join our community to discuss how we can support you.


© 2024 Pay For Done. All Rights Reserved. Website compliant with W3C validation.