---
title: "Availability Scheduler | Free React & Tailwind Blocks Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/blocks/availability-scheduler"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/availability-scheduler/index.tsx"
install_command: "npx motion-ui-skill add availability-scheduler"
dependencies: ["clsx","lucide-react","motion","react","react-dom","tailwind-merge"]
category: "blocks"
subcategory: "availability-scheduler"
---

# Availability Scheduler

> Weekly availability editor where each day springs between available and unavailable, time ranges add and remove with blur-slide motion, times pick from a scrollable dropdown, and a copy menu clones hours to other days.

## Install

```bash
npx motion-ui-skill add availability-scheduler
```

## Dependencies

- `clsx`
- `lucide-react`
- `motion`
- `react`
- `react-dom`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { AvailabilityScheduler } from "@/components/motion/availability-scheduler";

export function AvailabilitySchedulerPreview() {
  return (
    <div className="flex w-full justify-center">
      <AvailabilityScheduler />
    </div>
  );
}
```

## API Reference

### AvailabilityScheduler

| Prop | Type | Default | Required | Description |
| --- | --- | --- | --- | --- |
| `value` | `WeekAvailability` | — | No | — |
| `defaultValue` | `WeekAvailability` | — | No | — |
| `onChange` | `((value: WeekAvailability) => void)` | — | No | — |
| `step` | `number` | `30` | No | Minutes between selectable times. Default 30. |
| `className` | `string` | — | No | — |

## Source Files

- [components/motion/availability-scheduler/index.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/availability-scheduler/index.tsx)
- [components/motion/availability-scheduler/copy-menu.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/availability-scheduler/copy-menu.tsx)
- [components/motion/availability-scheduler/day-row.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/availability-scheduler/day-row.tsx)
- [components/motion/availability-scheduler/icon-button.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/availability-scheduler/icon-button.tsx)
- [components/motion/availability-scheduler/time-select.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/availability-scheduler/time-select.tsx)
- [components/motion/availability-scheduler/types.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/availability-scheduler/types.ts)
- [components/motion/checkbox.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/checkbox.tsx)
- [components/motion/popover-morph.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/popover-morph.tsx)
- [components/motion/popover-position.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/popover-position.ts)
- [components/motion/select.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/select.tsx)
- [components/motion/switch.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/switch.tsx)
- [components/motion/tooltip.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/motion/tooltip.tsx)
- [lib/ease.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/ease.ts)
- [lib/hooks/use-dismiss.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/hooks/use-dismiss.ts)
- [lib/hooks/use-hover-gesture.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/hooks/use-hover-gesture.ts)
- [lib/hooks/use-tap-gesture.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/hooks/use-tap-gesture.ts)
- [lib/portal.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/portal.tsx)
- [lib/touch.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/touch.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
