{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The toolbar above a table: search and filter controls on the left (children), the actions on the right (`actions`). One tab stop group (role toolbar).",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/**\n * The toolbar above a table: search and filter controls on the left (children), the actions on the right\n * (`actions`). One tab stop group (role toolbar).\n */\nimport { type ReactNode } from \"react\";\nimport { Box, Inline } from \"../compose\";\nimport { cn } from \"../utils\";\n\nexport type TableToolbarProps = {\n  label: string;\n  className?: string;\n  children?: ReactNode;\n  actions?: ReactNode;\n};\n\nexport function TableToolbar({ label, className, children, actions }: TableToolbarProps) {\n  return (\n    <Box\n      className={cn(\"flex flex-wrap items-center justify-between gap-2\", className)}\n      role=\"toolbar\"\n      aria-label={label}\n      data-slot=\"table-toolbar\"\n    >\n      <Inline className=\"flex min-w-0 flex-wrap items-center gap-2\">\n        {children}\n      </Inline>\n      <Inline className=\"flex flex-wrap items-center gap-2\">\n        {actions}\n      </Inline>\n    </Box>\n  );\n}\n",
      "path": "components/table-toolbar.tsx",
      "target": "components/table-toolbar.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "table-toolbar",
  "registryDependencies": [
    "compose",
    "utils"
  ],
  "runtime": "react",
  "title": "Table Toolbar",
  "type": "registry:component"
}
