Floating

Floating is used to create components like Dropdown, Popover and Tooltip.

FloatingBosons

Type
required
Type of element.
type: string
default: dropdown
values: dropdown, popover, tooltip

Examples

1// Basic example
2
3@protons.Floating(&protons.FloatingBosons{Type: "dropdown"}) {
4  ... place for activation element 
5  ... place for container with content
6}

Let's dive deeper and connect!

Gopress 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.