{ "name": "MetricCardThree", "description": "Metric card with icon badge, title header, and large value display.", "details": "Use for icon-led metric displays with clear categorization. Layout: Icon (primary-button, rounded-theme) + Title (xl text, on same row) → Large Value (7xl, bold, centered). Card has fixed height (h-60 2xl:h-70) with centered layout. Icon uses primary-button styling with text-background for contrast. All fields are required for visual consistency. Best for categorized statistics, feature metrics, or KPIs that need visual identification. Automatically switches between grid (1-4 items) and carousel (5+ items). Optional header with title, description, tag, and buttons.", "constraints": { "textRules": { "title": { "required": true, "example": "Performance Metrics", "minChars": 2, "maxChars": 35 }, "description": { "required": true, "example": "Track your key performance indicators", "minChars": 5, "maxChars": 250 }, "tag": { "required": false, "example": "KPIs", "minChars": 2, "maxChars": 30 } }, "metricRules": { "id": { "required": true, "example": "1", "minChars": 1, "maxChars": 20 }, "icon": { "required": true, "example": "TrendingUp", "note": "Lucide icon displayed in primary-button styled circular badge" }, "title": { "required": true, "example": "Conversions", "minChars": 2, "maxChars": 30, "note": "Metric category/label displayed next to icon" }, "value": { "required": true, "example": "7,000+", "minChars": 1, "maxChars": 15, "note": "Large metric value displayed below icon and title" } } }, "propsSchema": { "metrics": "Array<{ id: string, icon: LucideIcon, title: string, value: string }>", "carouselMode?": "'auto' | 'buttons' (default: 'buttons')", "animationType": "'none' | 'opacity' | 'slide-up' | 'scale-rotate' | 'blur-reveal' | 'depth-3d'", "uniformGridCustomHeightClasses?": "string", "title": "string", "titleSegments?": "Array<{ type: 'text', content: string } | { type: 'image', src: string, alt?: string }> - For inline images in title", "description": "string", "tag?": "string", "tagIcon?": "LucideIcon", "tagAnimation?": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", "buttons?": "Array<{text: string, onClick?: () => void, href?: string}>", "buttonAnimation?": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", "textboxLayout": "'default' | 'split' | 'split-actions' | 'split-description' | 'inline-image' (required - 'inline-image' uses titleSegments for rich text with images)", "useInvertedBackground": "boolean", "ariaLabel?": "string (default: 'Metrics section')", "className?": "string", "containerClassName?": "string", "cardClassName?": "string", "textBoxTitleClassName?": "string", "textBoxTitleImageWrapperClassName?": "string - For styling image wrapper in inline-image layout", "textBoxTitleImageClassName?": "string - For styling images in inline-image layout", "textBoxDescriptionClassName?": "string", "iconContainerClassName?": "string", "iconClassName?": "string", "metricTitleClassName?": "string", "valueClassName?": "string", "gridClassName?": "string", "carouselClassName?": "string", "controlsClassName?": "string", "textBoxClassName?": "string", "textBoxTagClassName?": "string", "textBoxButtonContainerClassName?": "string", "textBoxButtonClassName?": "string", "textBoxButtonTextClassName?": "string" }, "usageExample": "", "do": [ "Use for feature showcases", "Use for capability displays", "Use for statistics displays", "Use for achievement showcases", "Requires metrics[]", "Requires titleSegments?[]", "Requires buttons?[]" ], "dont": [], "editRules": { "textOnly": true, "layoutLocked": true, "styleLocked": true } }