Skip to content
AJS InnovationsUI

Patterns

List toolbar

A view selector and action area for dense admin record lists.

Interactive local example · fictional data

The Code tab contains this preview’s complete source, including sample data and interaction state. Load the package stylesheet and Switzer font as described in the installation guide. Additional layout utilities require Tailwind CSS in your application.

API reference

PropTypeDefault
titlestringrequired
viewsstring[][]
onViewChange(view) => void
childrenReactNode

Primitives also accept their underlying HTML or Radix props. Full types are included with the package.

Behavior & accessibility

  • Combine with DataTable. View selection does not fetch data automatically.

Reference

Admin members, events, settings lists