Ecosystem

A growing set of projects built on top of Cotton, from component libraries to editor tooling. Most are third-party and independently maintained. Built something? Add it.

Component Libraries

Pre-built UI kits and component sets you can drop into a Cotton project.

  • django-cotton-ui by Will Abbott. An official Cotton UI kit: themeable interactive components based on Tailwind 4 and Alpine.js 3. GitHub · PyPI · Docs
  • shadcn-django by Sarthak Jariwala. Copy-paste shadcn/ui components for Django, built with Tailwind and Alpine and HTMX-friendly. GitHub · Website
  • labb by labbhq. A large Tailwind and daisyUI 5 component library. GitHub · PyPI · Website
  • django-basecoat by Ignace Maes. Ready-made Basecoat (shadcn/ui) components for Django, powered by Cotton. GitHub · PyPI

Icons

Icon sets exposed as Cotton components.

  • cotton-icons by Will Abbott. An official Cotton icon library exposing the Lucide, Tabler and Heroicons sets as Cotton components. GitHub · PyPI
  • cotton-heroicons by Simon Kelly. The Heroicons set exposed as Cotton components, with outline, solid, mini and micro variants. GitHub · PyPI
  • cotton-iconify by nklsw. A CLI that generates any Iconify icon as a Cotton component. GitHub

Tooling & CLI

Command-line and development tools for building Cotton components.

  • cotton-daisy by Adrian Ciolek. A CLI that scaffolds DaisyUI components for Cotton. Requires DaisyUI and Cotton set up first. GitHub · PyPI
  • django-cotton-gallery by Anthony Velez Tapia. A development playground for Cotton components. Turns @prop annotations into live controls, slot IntelliSense, docs and dependency insights, plus a cotton_lint command for CI. GitHub · PyPI · Docs

Editor Support

Editor extensions that understand Cotton's component tags.

Tutorials & Articles

Community write-ups using Cotton.

Add Yours

Built a library, tool, extension or tutorial for Cotton? Share it in GitHub Discussions and it can be added here.

View this page as markdown, handy as context for your AI tools. Full index at /llms.txt. Spotted a mistake? Edit this page on GitHub.