---
title: "Date range animated icon"
description: "Date range animated icon (Scheduling & time tools). A range bar sweeps from the fixed start date to the end date and stays. Strong: the end dot backs off, the bar drives fast, knocks it 0.7 past the date, and both settle together."
canonical: https://generativeicons.com/icons/date-range/
---

# Date range animated icon

A range bar sweeps from the fixed start date to the end date and stays. Strong: the end dot backs off, the bar drives fast, knocks it 0.7 past the date, and both settle together.

- Id: `date-range`
- Category: Scheduling & time tools
- Search terms: range picker, select dates, period, time period, timeframe, date span, from to, start and end, trip dates, stay dates, custom range
- Two states: prepared to result, played forward and back
- 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/date-range.lottie (dotLottie, 8092 bytes, sha256 dbf510146b2ea678fa534ef68fa75489d569d18e6db23752b5bc23b9c3d00804)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add date-range
```

## React

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

export function DateRangeIcon() {
  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/date-range.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/date-range/ · https://generativeicons.com/api/icons/date-range
