# Community Section

> Join-the-community section for open-source and developer products. Channel cards for GitHub, Discord, discussions, newsletter and YouTube count their numbers up on view, a contributors wall shows a gliding hover card per face and ends in a +N chip, a list of good first issues links each one, and a weekly community call shows in the visitor's own time zone.

- Slug: `community-section`
- Category: [Calls to action](https://www.assembli.design/category/calls-to-action.md)
- Type: block
- Tags: community, open-source, github, discord, contributors, issues, events, count-up
- npm dependencies: motion, lucide-react
- shadcn/ui dependencies: none
- Live preview: https://www.assembli.design/preview/community-section
- Page: https://www.assembli.design/components/community-section

![Community Section preview](https://www.assembli.design/thumbnails/community-section-light.png)

## Props

Other props pass through to the root element.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `eyebrow` | `React.ReactNode` | `"Community"` |  |
| `title` | `React.ReactNode` | `"Built in the open, with thousands of developers"` |  |
| `intro` | `React.ReactNode` | `"Ferrule is MIT-licensed and shaped by the people who use i…` |  |
| `channels` | `CommunityChannel[]` | `DEFAULT_CHANNELS` |  |
| `contributors` | `CommunityContributor[]` | `DEFAULT_CONTRIBUTORS` |  |
| `totalContributors` | `number` | `1276` | Everyone, including those not shown. The chip shows how many more there are. |
| `contributorsHref` | `string` | `"#"` |  |
| `contributorStats` | `{ label: string; value: number \| string }[]` | `DEFAULT_STATS` | A row of figures at the foot of the contributors card. Numbers count up on view. |
| `contributionsLabel` | `string` | `"contributions"` | Unit after the count in the hover card, e.g. "commits". |
| `issues` | `CommunityIssue[]` | `DEFAULT_ISSUES` |  |
| `issuesHref` | `string` | `"#"` |  |
| `event` | `CommunityEvent \| null` | `DEFAULT_EVENT` |  |

## Install

One-time setup (needs a subscription):

1. Add the registry to the project's `components.json`: `{"@assembli":{"url":"https://www.assembli.design/r/{name}.json","headers":{"Authorization":"Bearer ${ASSEMBLI_API_KEY}"}}}` (merge into `"registries"`).
2. Put an API key from https://www.assembli.design/account in `.env.local` as `ASSEMBLI_API_KEY=asm_…`.

Then install with the shadcn CLI (writes `components/community-section/community-section.tsx` and installs dependencies):

```bash
npx shadcn@latest add @assembli/community-section
```

Registry item JSON: https://www.assembli.design/r/community-section.json (send `Authorization: Bearer <api key>`)

## Code

> Component source needs an Assembli subscription ($12/month or $96/year) and an API key sent as `Authorization: Bearer <key>`. To get one without copying anything, POST https://www.assembli.design/api/agent/login (or call the MCP tool connect_account), show the user the link it returns, and poll https://www.assembli.design/api/agent/token for the key. Or subscribe at https://www.assembli.design/pricing and create a key at https://www.assembli.design/account.
