Github Repo
Github Repo: GitHub repo card with owner, description, language dot, star/fork counts, and a toggleable Star button. Open source landing pages, simplified. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Github Repo
npx motion-ui-skill add github-repoComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Github Repo
GitHub repo card with owner, description, language dot, star/fork counts, and a toggleable Star button. Open source landing pages, simplified.
Install
npx motion-ui-skill add github-repo
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { GitHubRepoCard } from "@/components/socials/github-repo-card";
export function GitHubRepoCardDemo() {
return (
<div className="flex items-center justify-center p-6">
<GitHubRepoCard />
</div>
);
}
API Reference
GitHubRepoCard
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |