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.
Pre-built UI kits and component sets you can drop into a Cotton project.
Copy-paste shadcn/ui components for Django, built with Tailwind and Alpine and HTMX-friendly.
Ready-made Basecoat (shadcn/ui) components for Django, powered by Cotton.
An official Cotton UI kit: themeable interactive components based on Tailwind 4 and Alpine.js 3.
Icon sets exposed as Cotton components.
An official Cotton icon library exposing the Lucide, Tabler and Heroicons sets as Cotton components.
The Heroicons set exposed as Cotton components, with outline, solid, mini and micro variants.
Command-line tools that scaffold components into your project.
A CLI that scaffolds DaisyUI components for Cotton. Requires DaisyUI and Cotton set up first.
Editor extensions that understand Cotton's component tags.
Autocompletion for component tags, go-to-definition, parameter intellisense from c-vars, and missing-component diagnostics.
Syntax highlighting for .cotton.html files, plus autocomplete, hover docs, go-to-definition and unknown-component diagnostics.
Community write-ups using Cotton.
Builds a reusable modal with Cotton and Alpine, with a companion repo.
Part 8 of a To-do app series, refactoring HTMX templates into Cotton components.
A full app walkthrough that uses Cotton for reusable components alongside HTMX and Alpine.
Built a library, tool, extension or tutorial for Cotton? Share it in GitHub Discussions and it can be added here.