Skip to content

Installation

bash
npm install react-meeting-selector
bash
pnpm add react-meeting-selector
bash
yarn add react-meeting-selector

Dependencies

  • required: react >= 19.x

Usage

In your component

typescript
import { MeetingSelector } from 'react-meeting-selector';
import 'react-meeting-selector/style.css';

Helpers

react-meeting-selector provides utilities to generate mock or structured data compatible with the component.

generateMeetingsByDays

Generates meeting slots at regular intervals within a time range, grouped by day. Useful for testing or real-world slot generation.

typescript
import { generateMeetingsByDays } from 'react-meeting-selector';

Learn more about generateMeetingsByDays

generatePlaceholder

Returns a placeholder structure compatible with the component's expected shape, typically used to show loading skeletons or empty calendars.

typescript
import { generatePlaceholder } from 'react-meeting-selector';

Learn more about generatePlaceholder