ActionPanel

ActionPanel is a small window that triggers the user to make a decision or dive into additional information.

ActionPanelBosons

Vertical
Sets the default slot at the bottom.
type: bool
default: false

Examples

Default action panel
Renew subscription automatically
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo totam non cumque deserunt officiis ex maiores nostrum.
 1// Example of default ActionPanel
 2
 3@atoms.ActionPanel(&atoms.ActionPanelBosons{}) {
 4  @atoms.ActionPanelHeading("Renew subscription automatically") {
 5    Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo totam non cumque deserunt officiis ex maiores nostrum.
 6  }
 7  @atoms.ActionPanelAction() {
 8    @atoms.Button(
 9      &atoms.ButtonBosons{
10        Title: "Button text",
11      },
12    )
13  }
14}
Vertical action panel
Renew subscription automatically
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo totam non cumque deserunt officiis ex maiores nostrum.
 1// Example of vertical ActionPanel
 2
 3@atoms.ActionPanel(&atoms.ActionPanelBosons{
 4  Vertical: true,
 5}) {
 6  @atoms.ActionPanelHeading("Renew subscription automatically") {
 7    Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo totam non cumque deserunt officiis ex maiores nostrum.
 8  }
 9  @atoms.ActionPanelAction() {
10    @atoms.Button(
11      &atoms.ButtonBosons{
12        Title: "Button text",
13      },
14    )
15  }
16}

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.