CONTRIBUTING.md

Contributing to Col

Thanks for helping make UI libraries easier to discover.

Before you start

  • Search existing issues and pull requests.
  • Use an issue form for a library request, feature request, or bug report.
  • Keep each issue and pull request focused on one outcome.
  • For a larger product or design change, open an issue before implementation.

Local setup

bash
1git clone https://github.com/screen-gd/Col.git
2cd Col
3npm install
4npm run dev

Run npm run build before submitting changes.

Add a library

Add one object to the libraries array in data/libraries.ts.

Checklist:

  • Use the official project name and canonical URL.
  • Use a unique lowercase kebab-case slug.
  • Write a factual one-sentence description.
  • Select existing category, stack, and use-case values where possible.
  • Add only useful search tags; do not repeat every field.
  • Do not add affiliate, tracking, or shortened URLs.
  • Confirm the project is publicly accessible and actively useful.

If a new category or stack is genuinely required, explain why in the pull request.

Add a component

Components are how someone searches for "a date picker" or "stroke text" instead of browsing 56 libraries. They live in data/components.ts, keyed by the owning library's slug.

  • Only add a component you have verified on the library's own documentation site.
  • Spell name the way the library documents it, and point url at that component's page, not the library homepage. It must be on the library's own domain, and must not be a setup, CLI, or marketing page.
  • Use aliases for terms people genuinely search for, such as cmdk or datepicker. Do not pad them with synonyms.
  • Add a handful you have checked rather than a long list you have not. Col tells users the index is partial, so a short accurate list is better than a long speculative one.

Many libraries publish a machine-readable component list at /llms.txt, which is a good starting point, but it also lists setup guides and paid tiers. Check every entry against the site's own navigation before adding it.

Do not add a component to make a library match a search. If a library does not document it, it does not belong in the index.

Fix a bug or add a feature

  • Follow the existing TypeScript and component patterns.
  • Avoid any and unrelated refactors.
  • Preserve light mode, dark mode, keyboard access, and reduced-motion behavior.
  • Keep copy short and specific.
  • Update comments and documentation affected by the change.
  • Add a focused test when the behavior has a stable test seam.

Pull requests

Use a descriptive title, such as:

  • Add Ark UI to the directory
  • Fix stack filter query handling
  • Add dedicated library detail route

In the description, explain what changed, why it changed, and how it was verified. Add screenshots for visible interface changes.

Reviewers may request metadata corrections, a smaller scope, accessibility fixes, or links to official sources before merging.