# XWUIHrWhoIsOff

A compact HR dashboard card that summarizes who is currently on leave. It reads a `data.entries` array of leave records (each `{ id, name, leaveType, until }`) and renders a "Who is off" heading with the employee count; the heading and the "employees" label switch to Arabic ("من في إجازة" / "موظف") when `locale` is `ar`. Use it as a small at-a-glance widget on an HR overview rather than a full leave-management screen.

## Basic Usage

Renders the card with two leave entries (Annual Leave and Sick Leave, each with an `until` date), producing the "2 employees" summary.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Shows the Who-is-off card summarizing two employees currently on leave.
```

## Arabic Locale

Switches the heading and "employees" label to Arabic by setting `locale: 'ar'`.

```example
file: examples/ArabicLocale.ts
html: examples/ArabicLocale.html
title: Arabic Locale
description: Sets locale to ar so the Who-is-off card renders Arabic names and labels, right-to-left.
```

## Empty State

Renders the zero-count fallback when no one is on leave.

```example
file: examples/EmptyState.ts
html: examples/EmptyState.html
title: Empty State
description: Passes an empty entries array so the card shows its nobody-is-off fallback.
```

```api
```
