{ "name": "MetricCardEleven", "description": "Metrics section with paired text and media cards. Each metric displays a value card alongside an image/video card in a 2-column layout.", "constraints": { "textRules": { "title": { "required": true, "example": "Our Impact", "minChars": 2, "maxChars": 50 }, "description": { "required": true, "example": "See the results we've delivered for our clients", "minChars": 5, "maxChars": 250 }, "tag": { "required": false, "example": "Results", "minChars": 2, "maxChars": 30 } }, "metricRules": { "id": { "required": true, "example": "1", "minChars": 1, "maxChars": 20 }, "value": { "required": true, "example": "10M+", "minChars": 1, "maxChars": 15, "note": "Large metric value displayed prominently at top of text card" }, "title": { "required": true, "example": "Organic Views", "minChars": 2, "maxChars": 50, "note": "Metric title displayed at bottom of text card, truncates" }, "description": { "required": true, "example": "Growth through smart content strategy", "minChars": 5, "maxChars": 100, "note": "Metric description below accent divider, truncates to single line" }, "media": { "required": true, "note": "Either imageSrc or videoSrc must be provided for each metric" } }, "itemRules": { "minItems": 1, "maxItems": 6, "recommendedItems": "2-4" } }, "propsSchema": { "metrics": "Array<{ id: string, value: string, title: string, description: string, imageSrc?: string, imageAlt?: string, videoSrc?: string, videoAriaLabel?: string }>", "animationType": "'none' | 'opacity' | 'slide-up' | 'scale-rotate' | 'blur-reveal'", "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", "buttons?": "Array<{text: string, onClick?: () => void, href?: string}>", "textboxLayout": "'default' | 'split' | 'split-actions' | 'split-description' | 'inline-image'", "useInvertedBackground": "'noInvert' | 'invertDefault'", "ariaLabel?": "string (default: 'Metrics section')", "className?": "string" }, "usageExample": "", "do": [ "Use for statistics displays", "Use for achievement showcases", "Requires metrics[]", "Requires titleSegments?[]", "Requires buttons?[]" ], "dont": [ "Do not use more than 4 items", "Do not use more than 6 items" ], "editRules": { "textOnly": true, "layoutLocked": true, "styleLocked": true } }