---
title: "Time block animated icon"
description: "Time block animated icon (Scheduling & time tools). A block of time is drawn on the day: the event block is pulled down from its start hour to its end hour. Light: the block starts as a thin slab at the start hour, and its bottom edge is dragged down in one move and stops dead on the end hour. Strong: the edge is dragged in two snaps, stopping dead on the middle hour first, then on the end hour, and the calendar takes the last snap with a small thump. The hour marks and the leaf stay put."
canonical: https://generativeicons.com/icons/time-block/
---

# Time block animated icon

A block of time is drawn on the day: the event block is pulled down from its start hour to its end hour. Light: the block starts as a thin slab at the start hour, and its bottom edge is dragged down in one move and stops dead on the end hour. Strong: the edge is dragged in two snaps, stopping dead on the middle hour first, then on the end hour, and the calendar takes the last snap with a small thump. The hour marks and the leaf stay put.

- Id: `time-block`
- Category: Scheduling & time tools
- Search terms: time blocking, timebox, timeboxing, focus time, deep work, reserve time, hold time, busy time, appointment, duration, day planner
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/time-block.lottie (dotLottie, 4088 bytes, sha256 d01cdf0735d163c9287c5ca6787993d02c8f63edba16f3ef90cae7f01b27ce3f)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add time-block
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/time-block.mjs';

export function TimeBlockIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/time-block.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/time-block/ · https://generativeicons.com/api/icons/time-block
