github-elements

📁 crafter-station/elements 📅 1 day ago
2
总安装量
1
周安装量
#71547
全站排名
安装命令
npx skills add https://github.com/crafter-station/elements --skill github-elements

Agent 安装分布

amp 1
cline 1
opencode 1
cursor 1
continue 1
kimi-cli 1

Skill 文档

GitHub Elements

7 components for displaying GitHub data. Great for portfolios and OSS project pages.

Install Pattern

npx shadcn@latest add @elements/github-{name}

Components

Component Install Description
Repo Card @elements/github-repo-card Repository info (name, description, stars, forks)
Profile Card @elements/github-profile-card User profile card
Activity Calendar @elements/github-activity-calendar Contribution heatmap
Contributions @elements/github-contributions Contribution graph
Languages @elements/github-languages Language breakdown chart
Star Button @elements/github-star-button Star count button
Stars @elements/github-stars Star count display

Quick Patterns

# Portfolio page
npx shadcn@latest add @elements/github-profile-card @elements/github-activity-calendar @elements/github-languages

# OSS project page
npx shadcn@latest add @elements/github-repo-card @elements/github-star-button @elements/github-stars

# All GitHub components
npx shadcn@latest add @elements/github-repo-card @elements/github-profile-card @elements/github-activity-calendar @elements/github-contributions @elements/github-languages @elements/github-star-button @elements/github-stars

Common Props

Most components accept owner and repo props for API-connected data. Static data props available for SSR/demos.

Discovery

Browse https://tryelements.dev/docs/github