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. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Availability Scheduler

npx motion-ui-skill add availability-scheduler

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

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

Source files

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

npx motion-ui-skill add availability-scheduler

Dependencies

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

Usage

"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 —

Browse this category