Tab

Single item for Tabs. This component is not used as a standalone.

TabBosons

Id
required
Id for tab.
type: string
Active
required
Tab title.
type: string
default: false
Icon
Value of icon if exists.
type: templ.Component
Badge
Value of badge if exists.
type: string
default: f

Using in Tabs

1// Used in Tabs with arguments for formating
2
3@atoms.Tab(&item, props.Type, props.WithIcon, props.WithBadge, len(props.Items))

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.