Toolbar

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

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

Sticky filter bar

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

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

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.0.12 API