Components (172)
Commit Trail
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Commit Trail…
Usage
import { CommitTrail } from "ui-kit/components/commit-trail";Props
| Prop | Type | Default | Description |
|---|---|---|---|
commits* | TrailCommit[] | — | — |
branches | string[] | — | — |
branch | string | — | — |
defaultBranch | string | — | — |
onBranchChange | (branch: string) => void | — | — |
open | string | null | — | — |
defaultOpen | string | null | null | — |
onOpenChange | (id: string | null) => void | — | — |
expanded | string[] | — | — |
defaultExpanded | string[] | [] | — |
onExpandedChange | (ids: string[]) => void | — | — |
hasMore | boolean | false | — |
maxHeight | number | — | — |
locale | string | "en-US" | — |
kinds | Record<string, { label?: string; color?: string }> | — | — |
refs | Record<string, string> | — | — |
labels | Partial<CommitTrailLabels> | — | — |
className | string | — | — |