{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-action-02",
  "type": "registry:item",
  "title": "Card Action 02",
  "description": "Card with branded icon, large heading, description text, and floating circular add button with customizable props",
  "dependencies": [
    "@mui/icons-material",
    "@mui/material",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "components/card-action-02/card-action-02.tsx",
      "target": "src/mui-treasury/components/card-action-02/card-action-02.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\n\nimport AddIcon from '@mui/icons-material/Add';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport Card from '@mui/material/Card';\nimport Link from '@mui/material/Link';\nimport Typography from '@mui/material/Typography';\n\nexport interface CardAction02Props {\n  icon?: React.ReactNode;\n  title?: React.ReactNode;\n  description?: string;\n  href?: string;\n}\n\nexport function CardAction02({\n  icon = (\n    <Box\n      component=\"svg\"\n      viewBox=\"0 0 24 24\"\n      sx={{ width: 16, height: 16, fill: 'currentColor' }}\n    >\n      <path d=\"M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z\" />\n    </Box>\n  ),\n  title = (\n    <>\n      Pay over time,\n      <br />\n      interest-free.\n    </>\n  ),\n  description = 'When you choose to check out at Apple with Apple Card Monthly Installments.',\n  href = '#',\n}: CardAction02Props) {\n  return (\n    <Card\n      sx={(theme) => ({\n        border: 0,\n        position: 'relative',\n        borderRadius: 3.5,\n        p: 3,\n        width: {\n          xs: 340,\n          sm: 380,\n          md: 420,\n          lg: 460,\n        },\n        minHeight: {\n          xs: 380,\n          sm: 420,\n          md: 460,\n        },\n        display: 'flex',\n        flexDirection: 'column',\n        gap: 3,\n        transition: 'transform .3s cubic-bezier(0,0,.5,1)',\n        '&:hover': {\n          transform: 'scale(1.023)',\n        },\n        '&:has(:focus-visible)': {\n          outline: `2px solid ${(theme.vars || theme).palette.primary.main}`,\n          outlineOffset: 2,\n        },\n      })}\n    >\n      <Box\n        sx={(theme) => ({\n          width: 68,\n          height: 46,\n          borderRadius: 1.5,\n          border: '2px solid',\n          borderColor: 'grey.800',\n          display: 'flex',\n          alignItems: 'center',\n          justifyContent: 'center',\n          p: 1,\n          ...theme.applyStyles('dark', {\n            borderColor: 'grey.300',\n          }),\n        })}\n      >\n        {icon}\n      </Box>\n\n      <Box sx={{ display: 'flex', flexDirection: 'column', gap: 1.5 }}>\n        <Typography\n          component=\"h3\"\n          sx={{\n            fontSize: { xs: '28px', md: '32px', lg: '40px' },\n            textWrap: 'pretty',\n            fontWeight: 600,\n            lineHeight: 1.1,\n          }}\n        >\n          {title}\n        </Typography>\n        <Typography\n          sx={{\n            fontSize: { xs: '17px', md: '19px' },\n            color: 'text.secondary',\n            textWrap: 'pretty',\n            lineHeight: 1.4,\n          }}\n        >\n          {description}\n        </Typography>\n      </Box>\n\n      <Link\n        sx={{ position: 'absolute', inset: 0 }}\n        href={href}\n        underline=\"none\"\n      >\n        <Button\n          component=\"span\"\n          variant=\"contained\"\n          aria-label=\"Add\"\n          role={undefined}\n          tabIndex={-1}\n          disableRipple\n          sx={(theme) => ({\n            position: 'absolute',\n            bottom: 20,\n            right: 20,\n            minWidth: 56,\n            width: 56,\n            height: 56,\n            borderRadius: '50%',\n            bgcolor: 'grey.800',\n            color: 'common.white',\n            p: 0,\n            ...theme.applyStyles('dark', {\n              bgcolor: 'grey.300',\n              color: 'grey.900',\n            }),\n            '@media (hover: hover)': {\n              '&:hover': {\n                bgcolor: 'grey.700',\n                ...theme.applyStyles('dark', {\n                  bgcolor: 'grey.400',\n                }),\n              },\n            },\n          })}\n        >\n          <AddIcon sx={{ fontSize: 28 }} />\n        </Button>\n      </Link>\n    </Card>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "components/card-action-02/index.ts",
      "target": "src/mui-treasury/components/card-action-02/index.ts",
      "content": "export * from './card-action-02';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "category": "primitive",
    "subcategory": "card",
    "exportName": "CardAction02"
  }
}