{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The newsletter sign-up of FooterSplit in a card: a title with a glyph, the email field and button, and a note.",
  "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/footer-signup-card.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/button\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/form\"\n\t\"github.com/ui8kit/codegen/generated/templ/icons\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/input\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/label\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/text\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// FooterSignupCardProps are the props of FooterSignupCard; the values are the JSON shapes of the TypeScript props.\ntype FooterSignupCardProps struct {\n\tId any `json:\"id\"`\n\tLabels any `json:\"labels\"`\n}\n\n// The newsletter sign-up of FooterSplit in a card: a title with a glyph, the email field and button, and a note.\ntempl FooterSignupCard(p FooterSignupCardProps) {\n\t{{ vId := p.Id }}\n\t{{ vLabels := p.Labels }}\n\t@compose.Stack(compose.StackProps{Gap: \"4\", Align: \"stretch\", BoxProps: box.BoxProps{Class: \"rounded bg-card inset-ring inset-ring-border p-6\", Attrs: uiutils.Attrs(\"data-slot\", \"signup\")}}) {\n\t\t@compose.Group(compose.GroupProps{Gap: \"2\", Align: \"center\", BoxProps: box.BoxProps{}}) {\n\t\t\t@icons.LucideIcon(icons.LucideIconProps{Name: \"mail\", Size: 16})\n\t\t\t@compose.Text(compose.TextProps{Size: \"sm\", Weight: \"semibold\", TextProps: text.TextProps{}}) {\n\t\t\t\t{ uiutils.Text(uiutils.Get(vLabels, \"signup\")) }\n\t\t\t}\n\t\t}\n\t\t@compose.Form(compose.FormProps{FormProps: form.FormProps{Method: \"dialog\", Class: uiutils.S(uiutils.Cnv(\"w-full max-w-md\", uiutils.Cond(uiutils.T(false), \"mx-auto\", \"\"))), Attrs: uiutils.Attrs(\"data-slot\", \"email-form\")}}) {\n\t\t\t@compose.Label(compose.LabelProps{LabelProps: label.LabelProps{For: uiutils.S(uiutils.Tpl(\"{0}-email\", vId)), Class: \"sr-only\"}}) {\n\t\t\t\t{ uiutils.Text(uiutils.Get(vLabels, \"email\")) }\n\t\t\t}\n\t\t\t@compose.Group(compose.GroupProps{Gap: \"2\", Align: \"start\", BoxProps: box.BoxProps{Class: \"w-full flex-wrap\"}}) {\n\t\t\t\t@compose.Input(compose.InputProps{InputProps: input.InputProps{Type: \"email\", Name: \"email\", Class: \"min-w-0 flex-1\", Attrs: uiutils.Attrs(\"id\", uiutils.Tpl(\"{0}-email\", vId), \"data-slot\", \"field\")}})\n\t\t\t\t@compose.Button(compose.ButtonProps{Variant: \"default\", Size: \"default\", ButtonProps: button.ButtonProps{Type: \"submit\"}}) {\n\t\t\t\t\t{ uiutils.Text(uiutils.Get(vLabels, \"subscribe\")) }\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t@compose.Text(compose.TextProps{Size: \"xs\", TextProps: text.TextProps{Class: \"text-muted-foreground\"}}) {\n\t\t\t{ uiutils.Text(uiutils.Get(vLabels, \"note\")) }\n\t\t}\n\t}\n}\n",
      "path": "blocks/footer-signup-card.templ",
      "target": "blocks/footer-signup-card.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "footer-signup-card",
  "registryDependencies": [
    "button",
    "form",
    "group",
    "input",
    "kit-box",
    "kit-button",
    "kit-form",
    "kit-input",
    "kit-label",
    "kit-text",
    "label",
    "lucide-icon",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "templ",
  "title": "Footer Signup Card",
  "type": "registry:component"
}
