TimeOff
Flows and blocks for creating and managing time-off policies — sick, vacation, and holiday.
import { TimeOff } from '@gusto/embedded-react-sdk'
🚂 Workflows
| Component | Description |
|---|---|
| TimeOffFlow | Hub for creating and managing a company's time off policies. |
🧩 Blocks
| Component | Description |
|---|---|
| AddEmployeesHoliday | Employee selection screen for assigning employees to a company's holiday pay policy. |
| AddEmployeesToPolicy | Employee selection screen for assigning employees to a sick or vacation time off policy. |
| HolidaySelectionForm | Lets a user select which US federal holidays are observed by the company's holiday pay policy. |
| PolicyConfigurationForm | Form for creating or editing the details of a sick or vacation time off policy — its name and accrual configuration. |
| PolicyList | Displays all active time off policies (sick, vacation, and holiday) for a company. |
| PolicySettings | Configures additional policy limits and rules for a sick or vacation policy. This step is skipped for policies with unlimited accrual. |
| PolicySettingsPresentation | Presentation-only form for configuring time off policy limits and rules. |
| PolicyTypeSelector | Selection screen for choosing which kind of time-off policy to create — sick, vacation, or holiday. |
| TimeOffPolicyDetail | Detail view for a sick or vacation time-off policy. |
| TimeOffPolicyDetailPresentation | Presentational detail view for sick and vacation time-off policies. |
| ViewHolidayEmployees | Displays the holiday policy detail view with the employees tab selected. |
| ViewHolidayPolicyDetails | Displays the holiday pay policy for a company with tabbed views of the included holidays and the enrolled employees. |
| ViewHolidaySchedule | Displays the holiday policy detail view with the holidays tab selected. |