Skip to content

Toolbar

Group search, filters, and collection actions in a responsive control surface with an accessible name.

Default Rendered example
Usage Example
@toolbar.Toolbar(toolbar.Config{
    Label:   "Incident tools",
    Search:  incidentSearch(),
    Filters: incidentFilters(),
    Actions: incidentActions(),
})

Built-in text: the development API provides expressions.Toolbar for application defaults, request preferences, and individual component overrides. Read the expression guide.

Sticky filter bar

Set Sticky when the toolbar should remain visible inside the page scroll container.

Sticky filter bar Rendered example
gateway-api
billing-worker
identity
events
notifications
reporting
Sticky filter bar
@toolbar.Toolbar(toolbar.Config{
    Label:   "Service tools",
    Search:  serviceSearch(),
    Filters: serviceFilters(),
    Sticky:  true,
})

Go API

v0.4.0

The examples above cover behavior and composition. pkg.go.dev is the canonical reference for exported types, functions, methods, and Go documentation.

github.com/araihu/goshtoso/components/toolbar
Open v0.4.0 API