{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One quote of QuoteSplit: a QuoteCard with the author's picture and the stars, as a card or a plain figure, in a box that can span grid rows.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n// Source: packages/compose-gen/specs/organisms/quote-slot.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// QuoteSlotProps are the props of QuoteSlot; the values are the JSON shapes of the TypeScript props.\ntype QuoteSlotProps struct {\n\tQ any `json:\"q\"`\n\tLabels any `json:\"labels\"`\n\tKind any `json:\"kind\"`\n\tLayout any `json:\"layout\"`\n\tClass string `json:\"className\"`\n}\n\n// One quote of QuoteSplit: a QuoteCard with the author's picture and the stars, as a card or a plain figure, in a box that can span grid rows.\ntempl QuoteSlot(p QuoteSlotProps) {\n\t{{ vQ := p.Q }}\n\t{{ vLabels := p.Labels }}\n\t{{ vKind := uiutils.Def(p.Kind, \"card\") }}\n\t{{ vLayout := uiutils.Def(p.Layout, \"grid\") }}\n\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: uiutils.S(p.Class), Attrs: uiutils.Attrs(\"data-slot\", \"quote\")}}) {\n\t\t@QuoteCard(QuoteCardProps{Q: vQ, Labels: vLabels, Item: map[string]any{\"kind\": vKind, \"avatar\": \"image\", \"rating\": \"show\", \"mark\": \"none\"}, Layout: vLayout})\n\t}\n}\n",
      "path": "blocks/quote-slot.templ",
      "target": "blocks/quote-slot.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "quote-slot",
  "registryDependencies": [
    "box",
    "kit-box",
    "quote-card",
    "utils"
  ],
  "runtime": "templ",
  "title": "Quote Slot",
  "type": "registry:component"
}
