docs/components/data/RepoCard

RepoCard

Git repository summary card.

import { RepoCard } from '@ybouhjira/hyperkit';

#Playground

Edit the code — the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#Props

PropTypeDefaultDescription
repo *RepoInfo
onOpen() => void
onTerminal() => void
onIssues() => void
onStartWork() => void

* required prop.

#Design Tokens

This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.

  • --sk-bg-secondary
  • --sk-bg-tertiary
  • --sk-border
  • --sk-duration-fast
  • --sk-font-mono
  • --sk-font-size-md
  • --sk-font-size-sm
  • --sk-font-ui
  • --sk-radius-sm
  • --sk-repo-card-transition-duration
  • --sk-space-md
  • --sk-space-sm
  • --sk-space-xs
  • --sk-success
  • --sk-text-primary
  • --sk-text-secondary
  • --sk-warning