{
  "$schema": "https://registry.ui.frontic.com/item.schema.json",
  "title": "Card",
  "description": "Frames related content such as a product or an order, with header, title, description, action, image, content and footer parts.",
  "components": {
    "Card": "Groups related content, such as a product or an order, into one framed block.",
    "CardAction": "Holds a control placed at the end of the card header.",
    "CardContent": "Holds the main content of the card.",
    "CardDescription": "Shows secondary text below the card title.",
    "CardFooter": "Holds the closing content of the card, such as status or buttons.",
    "CardHeader": "Groups the title, description and action at the top of the card.",
    "CardImage": "Shows a picture across the top of the card.",
    "CardTitle": "Names what the card is about."
  },
  "recipes": {
    "card": {
      "base": {
        "extends": ["panel", "surface-inset"],
        "contain": "inline-size",
        "gap": "{spacing.6}",
        "display": "flex",
        "flexDirection": "column",
        "@md": {
          "gap": "{spacing.8}"
        }
      },
      "variants": {
        "surface": {
          "raised": {},
          "bare": {
            "outline": "{ring.none}",
            "shadow": "none",
            "paddingY": "{spacing.0}",
            "parts": {
              "card-header": {
                "paddingX": "{spacing.0}"
              },
              "card-content": {
                "paddingX": "{spacing.0}"
              },
              "card-footer": {
                "paddingX": "{spacing.0}"
              }
            }
          }
        }
      },
      "defaults": {
        "surface": "raised"
      }
    },
    "card-action": {
      "base": {
        "alignSelf": "start",
        "justifySelf": "start"
      }
    },
    "card-content": {
      "base": {
        "paddingX": "{spacing.8}"
      }
    },
    "card-description": {
      "base": {
        "extends": "part-description"
      }
    },
    "card-footer": {
      "base": {
        "paddingX": "{spacing.8}",
        "display": "flex",
        "alignItems": "center"
      }
    },
    "card-header": {
      "base": {
        "gap": "{spacing.1.5}",
        "paddingX": "{spacing.8}",
        "display": "grid",
        "gridColumns": "1",
        "alignItems": "start"
      }
    },
    "card-title": {
      "base": {
        "extends": "part-title"
      }
    }
  }
}
