---
title: "GitHub Activity | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/github-activity"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/craft/github-activity.tsx"
install_command: "npx motion-ui-skill add github-activity"
dependencies: ["clsx","motion","react","react-dom","tailwind-merge"]
category: "craft"
subcategory: "craft"
---

# GitHub Activity

> A contribution heatmap with a footer panel that expands over the grid to rank your top repositories.

## Install

```bash
npx motion-ui-skill add github-activity
```

## Dependencies

- `clsx`
- `motion`
- `react`
- `react-dom`
- `tailwind-merge`

## Usage

```tsx
"use client";

import GithubActivity from "@/components/craft/github-activity";

export function Example() {
  return (
    <div className="p-6">
      <GithubActivity />
    </div>
  );
}
```

## Source Files

- [components/craft/github-activity.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/craft/github-activity.tsx)
- [lib/portal.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/portal.tsx)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
