{"success":true,"data":{"block":{"id":"hero-task-timer-animated","name":"Task Timer Animated Hero","title":"Hero Task Timer Animated","category":"Hero","categorySlug":"hero","description":"An animated hero featuring a task timer or countdown element. Dynamic and engaging for productivity apps.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/309643/n7nvlajhxzjc5ms7pqj5zmtxuxrs/hero-task-timer-animated-desktop.jpg","mobile":"https://cdn.ing/assets/i/r/309644/gi13f5dx2xti6s4b43967s03s1fc/hero-task-timer-animated-mobile.jpg"},"componentPath":"blocks/hero/hero-task-timer-animated.tsx","code":"import { HeroTaskTimerAnimated } from \"@opensite/ui/blocks/hero/hero-task-timer-animated\";\nimport { DynamicIcon } from \"@opensite/ui/components/dynamic-icon\";\n\nexport default function Demo() {\n  return (\n    <HeroTaskTimerAnimated\n      heading=\"Track time, boost productivity\"\n      description=\"Stay focused and manage your time effectively with our intuitive task timer. Perfect for work, study, or any activity that requires dedicated focus.\"\n      taskItems={[\n        \"Design mockups\",\n        \"Code review\",\n        \"Write documentation\",\n        \"Ship feature\",\n      ]}\n      timerMinutes={25}\n      actions={[\n        {\n          label: \"Start Tracking\",\n          href: \"#\",\n          variant: \"default\",\n          iconAfter: <DynamicIcon name=\"lucide/arrow-right\" size={16} />,\n        },\n        {\n          label: \"View Features\",\n          href: \"#\",\n          variant: \"outline\",\n        },\n      ]}\n      background=\"dark\"\n      pattern=\"gridFadeTopLeft\"\n      patternOpacity={0.1}\n    />\n  );\n}","propsSchema":{"heading":{"type":"object","description":"Main heading content","typeLabel":"React.ReactNode","required":true,"maxLength":40},"headingSlot":{"type":"object","description":"Custom slot for heading (overrides heading prop)","typeLabel":"React.ReactNode","required":false},"description":{"type":"object","description":"Description text below heading","typeLabel":"React.ReactNode","required":false,"maxLength":130},"actions":{"type":"array","description":"Array of action configurations for CTA buttons","items":{"type":"object","description":"","fields":{"variant":{"type":"string","description":"","typeLabel":"\"default\" | \"destructive\" | \"outline\" | \"secondary\" | \"ghost\" | \"link\"","required":false},"size":{"type":"string","description":"","typeLabel":"\"default\" | \"sm\" | \"md\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"","required":false},"label":{"type":"object","description":"Button/link label text or ReactNode","typeLabel":"ReactNode","required":false},"icon":{"type":"object","description":"Icon to display (typically before label)","typeLabel":"ReactNode","required":false},"iconAfter":{"type":"object","description":"Icon to display after the label","typeLabel":"ReactNode","required":false},"href":{"type":"string","description":"URL for link behavior","required":false},"onClick":{"type":"object","description":"Click handler for button behavior","typeLabel":"MouseEventHandler","required":false},"className":{"type":"string","description":"Additional CSS classes for the action","required":false},"children":{"type":"object","description":"Custom children (overrides label + icon rendering)","typeLabel":"ReactNode","required":false},"aria-label":{"type":"string","description":"ARIA label for accessibility","required":false},"asButton":{"type":"boolean","description":"Render as a button element instead of an anchor/link","required":false}},"typeLabel":"ActionConfig"},"typeLabel":"ActionConfig[]","required":false,"maxItems":2,"pinnedValues":{"0.variant":"default","1.variant":"outline"}},"actionsSlot":{"type":"object","description":"Custom slot for rendering actions (overrides actions array)","typeLabel":"React.ReactNode","required":false},"actionsClassName":{"type":"string","description":"Additional CSS classes for the actions container","required":false},"taskItems":{"type":"array","description":"Array of task labels that cycle through with animation","items":{"type":"string","description":""},"required":true,"minItems":2,"maxItems":6},"timerMinutes":{"type":"number","description":"Starting minutes for the animated countdown display (default: 25 — Pomodoro style)","required":false},"timerSeconds":{"type":"number","description":"Starting seconds for the animated countdown display (default: 0)","required":false},"background":{"type":"string","description":"Background style for the section","typeLabel":"SectionBackground","required":false},"spacing":{"type":"object","description":"Vertical spacing for the section","fields":{},"typeLabel":"SectionSpacing","required":false},"pattern":{"type":"object","description":"Optional background pattern name","fields":{},"typeLabel":"PatternName","required":false},"patternOpacity":{"type":"number","description":"Pattern overlay opacity (0-1)","required":false},"className":{"type":"string","description":"Additional CSS classes for the section","required":false},"containerClassName":{"type":"string","description":"Additional CSS classes for the container","required":false},"headerClassName":{"type":"string","description":"Additional CSS classes for the header area","required":false},"headingClassName":{"type":"string","description":"Additional CSS classes for the heading","required":false},"descriptionClassName":{"type":"string","description":"Additional CSS classes for the description","required":false},"logo":{"type":"object","description":"Brand logo configuration. LOGO MEDIA ONLY — do not use photos or hero images.","fields":{"url":{"type":"string","description":"URL to navigate to when logo is clicked","required":false},"src":{"type":"string","description":"Image source for the logo","required":false},"alt":{"type":"string","description":"Alt text for the logo image","required":false},"title":{"type":"object","description":"Text title to display (alternative to image)","typeLabel":"React.ReactNode","required":false},"className":{"type":"string","description":"Additional CSS classes for the logo","required":false}},"typeLabel":"LogoConfig","required":false},"logoSlot":{"type":"object","description":"Custom slot for logo (overrides logo prop)","typeLabel":"React.ReactNode","required":false},"logoClassName":{"type":"string","description":"Additional CSS classes for the logo container","required":false},"sectionId":{"type":"string","description":"Optional Section ID","required":false}},"exampleProps":{"logo":{"src":"https://cdn.ing/assets/i/r/287634/e4cmvu8nbwoqy2qer90t4gpap0ed/logo-light.png","alt":"Brand Logo"},"heading":"Track time, boost productivity","description":"Stay focused and manage your time effectively.","taskItems":["Design mockups","Code review","Write documentation","Ship feature"],"timerMinutes":25,"timerSeconds":0,"background":"dark","actions":[{"label":"Start Tracking","href":"#","variant":"default"},{"label":"View Features","href":"#","variant":"outline"}]},"dependencies":["@opensite/ui"],"tags":["hero","task","timer","animated","countdown","productivity","dynamic","engaging"],"performance":{},"importantUsageNotes":"Supply 2-6 taskItems for cycling animation. Do not exceed 40 characters for 'heading'. Do not exceed 130 characters for 'description'. If you supply multiple 'actions', use 'default' for the first and 'outline' for the second. timerMinutes defaults to 25 (Pomodoro style). No images required — the animated countdown timer and task list provide the visual element.","usageRequirements":{"requiredProps":["heading","taskItems"],"propConstraints":{"heading":{"required":true,"maxLength":40},"description":{"maxLength":130},"taskItems":{"required":true,"minItems":2,"maxItems":6},"timerMinutes":{"note":"Defaults to 25 (Pomodoro style)."},"actions":{"maxItems":2,"pinnedValues":{"0.variant":"default","1.variant":"outline"}}},"mediaSlots":{},"requiresSiteCapabilities":[]}}},"timestamp":"2026-06-27T20:02:55.418Z"}