Components / Documentation
Repository link
A GitHub repository as a compact link with its stars and forks.
@fabrials/ui
Installation
Import the control from
@fabrials/ui, after setting the app up.TypeScript import { RepoInfo } from "@fabrials/ui";
API reference
| Prop / export | Type | Description |
|---|---|---|
owner / repo | string | The repository; the link goes to github.com unless href is set. |
stars / forks | number | null | Fetched and cached by the host. Unknown counts are left out, never shown as zero. |
description | ReactNode | A line under the name. |
Behavior
Presentational: it never calls GitHub itself, so pages stay fast and rate limits stay the host's concern.
Accessibility
Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.