{ "$schema": "https://shadcn-vue.com/schema/registry-item.json", "name": "toolbar", "title": "Toolbar", "description": "A flexible toolbar component with primary and secondary action areas.", "dependencies": [], "registryDependencies": [], "files": [ { "path": "src/components/toolbar/Toolbar.vue", "content": "\n\n\n \n \n \n \n\n \n \n \n\n \n \n \n \n\n", "type": "registry:component" }, { "path": "src/components/toolbar/types.ts", "content": "import type { Component } from \"vue\";\n\nexport interface ToolbarAction {\n key: string;\n label?: string;\n icon?: Component;\n variant?:\n | \"default\"\n | \"destructive\"\n | \"outline\"\n | \"ghost\"\n | \"secondary\"\n | \"link\";\n size?: \"default\" | \"sm\" | \"lg\" | \"icon\";\n show?: boolean;\n disabled?: boolean;\n onClick?: () => void;\n isIconOnly?: boolean;\n tooltip?: string;\n}\n", "type": "registry:component" }, { "path": "src/components/toolbar/index.ts", "content": "import Toolbar from \"./Toolbar.vue\";\nexport * from \"./types\";\n\nexport { Toolbar };\nexport default Toolbar;\n", "type": "registry:component" }, { "path": "src/components/toolbar/ToolbarItem.vue", "content": "\n\n\n \n \n \n \n \n \n \n \n \n {{ action.tooltip || action.label }}\n \n \n\n \n \n \n {{ action.label }}\n \n \n\n", "type": "registry:component" } ], "type": "registry:component" }
{{ action.tooltip || action.label }}