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-repo

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-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

  • clsx
  • lucide-react
  • react
  • tailwind-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

Browse this category