Components (172)
Away Summary
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Away Summary…
Usage
import { AwaySummary } from "ui-kit/components/away-summary";Props
| Prop | Type | Default | Description |
|---|---|---|---|
since* | Date | number | string | — | — |
items* | AwayItem[] | — | — |
onAction | (id: string, item: AwayItem) => void | Promise<unknown> | — | — |
onDismiss | () => void | — | — |
defaultCollapsed | boolean | false | — |
collapsed | boolean | — | — |
onCollapsedChange | (collapsed: boolean) => void | — | — |
limit | number | 5 | — |
timeStyle | "duration" | "clock" | "duration" | — |
now | Date | number | — | — |
locale | string | — | — |
labels | Partial<AwaySummaryLabels> | — | — |
className | string | — | — |