Top Related Projects
A utility-first CSS framework for rapid UI development.
The instant on-demand atomic CSS engine.
Next generation utility-first CSS framework.
The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.
Chakra UI is a component system for building SaaS products with speed ⚡️
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
Quick Overview
Awesome Tailwind CSS is a curated list of awesome resources, tools, and projects related to Tailwind CSS, a utility-first CSS framework. This repository serves as a comprehensive collection of links to various Tailwind CSS resources, including official tools, third-party extensions, components, templates, and learning materials.
Pros
- Extensive collection of Tailwind CSS resources in one place
- Regularly updated with new and relevant content
- Well-organized and categorized for easy navigation
- Community-driven, allowing contributions from Tailwind CSS enthusiasts
Cons
- May become overwhelming due to the large number of resources
- Some listed resources might become outdated or unmaintained over time
- Quality of third-party resources may vary
- Requires manual exploration to find the most suitable resources for specific needs
Competitor Comparisons
A utility-first CSS framework for rapid UI development.
Pros of tailwindcss
- Official repository of the Tailwind CSS framework
- Contains the core source code and documentation
- Regularly updated with new features and improvements
Cons of tailwindcss
- Focused solely on the framework itself, not external resources
- May be overwhelming for beginners looking for curated content
- Lacks community-contributed resources and tools
Code Comparison
tailwindcss:
@tailwind base;
@tailwind components;
@tailwind utilities;
.btn-blue {
@apply bg-blue-500 text-white font-bold py-2 px-4 rounded;
}
awesome-tailwindcss:
## Plugins
- [Typography](https://github.com/tailwindlabs/tailwindcss-typography) - Adds a `prose` class for beautiful typographic defaults.
- [Forms](https://github.com/tailwindlabs/tailwindcss-forms) - Adds better default styles to form elements.
The tailwindcss repository contains the actual framework code, while awesome-tailwindcss is a curated list of Tailwind CSS resources, plugins, and tools. tailwindcss is essential for developers using the framework, providing the core functionality and documentation. awesome-tailwindcss serves as a valuable resource for discovering additional tools and learning materials related to Tailwind CSS, making it particularly useful for beginners and those looking to expand their knowledge of the ecosystem.
The instant on-demand atomic CSS engine.
Pros of UnoCSS
- Faster performance due to its atomic CSS engine
- More flexible and customizable with its preset system
- Supports on-demand atomic CSS generation
Cons of UnoCSS
- Smaller community and ecosystem compared to Tailwind CSS
- Less comprehensive documentation and learning resources
- May require more setup and configuration for complex projects
Code Comparison
UnoCSS:
.text-red-500 {
color: rgb(239 68 68);
}
Awesome Tailwind CSS:
.text-red-500 {
--tw-text-opacity: 1;
color: rgb(239 68 68 / var(--tw-text-opacity));
}
UnoCSS generates simpler CSS output, while Tailwind CSS includes additional utility classes and variables for more flexibility in certain scenarios.
Summary
UnoCSS offers better performance and flexibility, but has a smaller ecosystem. Awesome Tailwind CSS provides a more established community and extensive resources. The choice between them depends on project requirements, team expertise, and desired customization level.
Next generation utility-first CSS framework.
Pros of Windicss
- Faster compilation times due to on-demand CSS generation
- Supports additional features like variant groups and shortcuts
- Compatible with existing Tailwind CSS configurations
Cons of Windicss
- Smaller community and ecosystem compared to Tailwind CSS
- May have compatibility issues with some Tailwind CSS plugins
- Less frequent updates and maintenance
Code Comparison
Windicss:
.btn {
@apply px-4 py-2 bg-blue-500 text-white rounded;
&:hover {
@apply bg-blue-600;
}
}
Tailwind CSS:
.btn {
@apply px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600;
}
While awesome-tailwindcss is a curated list of Tailwind CSS resources, Windicss is an alternative compiler for Tailwind CSS. Windicss aims to improve performance and offer additional features while maintaining compatibility with Tailwind CSS. However, it has a smaller community and may lack some ecosystem support compared to the original Tailwind CSS. The code comparison shows that Windicss allows for nesting within utility classes, which can lead to more concise and organized code in some cases.
The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.
Pros of Twind
- Runtime CSS-in-JS approach, allowing for dynamic styling without build steps
- Smaller bundle size due to on-demand generation of styles
- Seamless integration with JavaScript/TypeScript for enhanced type safety
Cons of Twind
- Potential performance overhead due to runtime style generation
- Less extensive ecosystem and community support compared to Tailwind CSS
- May require additional setup and configuration for optimal use
Code Comparison
Twind:
import { tw } from 'twind'
const button = tw`bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded`
Awesome Tailwind CSS:
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Button
</button>
Twind offers a more programmatic approach to styling, allowing for dynamic class generation and better integration with JavaScript. Awesome Tailwind CSS, being a curated list of Tailwind CSS resources, provides a more traditional utility-first CSS approach with a vast collection of tools, plugins, and resources. The choice between the two depends on project requirements, development preferences, and performance considerations.
Chakra UI is a component system for building SaaS products with speed ⚡️
Pros of Chakra UI
- Provides a complete component library with pre-built, accessible UI components
- Offers a more structured and opinionated approach to building user interfaces
- Includes built-in theming and customization options out of the box
Cons of Chakra UI
- Less flexibility compared to utility-first approach of Tailwind CSS
- Steeper learning curve for developers new to component-based UI libraries
- Potentially larger bundle size due to inclusion of full component library
Code Comparison
Chakra UI:
import { Box, Heading, Text } from "@chakra-ui/react"
<Box bg="blue.500" p={4}>
<Heading color="white">Hello</Heading>
<Text color="white">Welcome to Chakra UI</Text>
</Box>
Tailwind CSS:
<div class="bg-blue-500 p-4">
<h1 class="text-white text-2xl">Hello</h1>
<p class="text-white">Welcome to Tailwind CSS</p>
</div>
Note: awesome-tailwindcss is a curated list of Tailwind CSS resources, not a UI library itself. The code comparison above demonstrates the difference between Chakra UI and Tailwind CSS usage.
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
Pros of styled-components
- Component-based styling with CSS-in-JS approach
- Dynamic styling based on props
- Automatic critical CSS extraction
Cons of styled-components
- Steeper learning curve for developers new to CSS-in-JS
- Potential performance overhead for large applications
- Less flexibility in sharing styles across components
Code Comparison
styled-components:
const Button = styled.button`
background-color: ${props => props.primary ? 'blue' : 'white'};
color: ${props => props.primary ? 'white' : 'blue'};
padding: 10px 20px;
border: 2px solid blue;
`;
Tailwind CSS (awesome-tailwindcss):
<button className="bg-blue-500 text-white px-4 py-2 border-2 border-blue-500">
Click me
</button>
styled-components offers a more programmatic approach to styling, allowing for dynamic styles based on props. awesome-tailwindcss, on the other hand, provides a utility-first approach with pre-defined classes, making it easier to quickly style components without writing custom CSS. The choice between the two depends on project requirements, team preferences, and scalability needs.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Awesome Tailwind CSS
Tailwind CSS is a utility-first CSS framework for rapidly building custom user interfaces.
Contents
Useful links
Legend: ð Official resource
- ð Website - Official Tailwind CSS website.
- ð Repository - Official Tailwind CSS repository.
- ð Tailwind Plus - UI blocks, templates, and a UI kit by the Tailwind CSS team.
- ð Headless UI - Completely unstyled, fully accessible UI components.
- ð Heroicons - Beautiful, hand-crafted SVG icons.
- ð Play - Advanced online playground for Tailwind CSS.
- ð Discord - Official Discord server to connect with other community members about Tailwind CSS.
- Tailwind Weekly - Weekly newsletter about all things Tailwind CSS.
IDE extensions
Legend: ð Official resource
- ð Intellisense for Code - Provides IntelliSense in Visual Studio Code.
- LSP support for Emacs - LSP support for Emacs.
- Editor support for VS2022 - IntelliSense, linting, sorting, and more in Visual Studio 2022.
Tools
Legend: ð Accessible online · ð Browser extension · ð¼ Conversion or upgrade tool · ð§ Generator · ð ° Typing/enforcement · ð¼ Plugins/Tools/Extensions for external services · ð¨ Color-related · ð Framework
- ðð¼ Prettier plugin - Official Tailwind CSS plugin for Prettier.
- ð¨ðð§ UI colors - Color palette generator for Tailwind CSS.
- ð¨ðð§ Tailwind Color Shades - Color shades generator for Tailwind CSS.
- ð¨ðð§ TailwindInk - AI palette generator, trained with the Tailwind CSS palette.
- ð¨ðð§ Hypercolor - Collection of Tailwind CSS gradients with directional options.
- ð¨ðð§ Tints - Color palette generator and API for Tailwind CSS.
- ð¨ðð§ Fullwind CSS - Extend Tailwind CSS color palettes with additional shades.
- ð¨ðð§ Inclusive colors - Create fine-tuned WCAG accessible Tailwind CSS color palettes.
- ð¼ð Prefixer - Tailwind classes' prefixer tool.
- ð¼ RustyWind - CLI tool for sorting Tailwind CSS classes.
- ð Maizzle - Framework for rapid email prototyping with Tailwind CSS.
- ð¼ @nuxtjs/tailwindcss - Tailwind CSS module for NuxtJS with PurgeCSS and modern CSS (preset env 1).
- ð¼ tailwindcss-rails - Gem for using Tailwind CSS with Rails' asset pipeline.
- ð¼ Config viewer - Local UI tool for visualizing your Tailwind CSS configuration file.
- ð¼ Raycast extension - Search classes, documentation and colors in Raycast Launcher.
- ð¼ NativeWind - NativeWind uses Tailwind CSS as scripting language to create a universal style system for React Native.
- ð Gimli Tailwind - Smart tools for Tailwind CSS as a browser extension.
- ð CSS Variables Editor - AI-powered Chrome extension for managing colors in daisyUI and shadcn/ui.
- ð DivMagic - Copy any web element and style as Tailwind CSS component.
UI libraries, components & templates
Legend: ð Official resource · ð UI library · ð§© Copy-pastable components · ð Full templates
- ðð§© Tailwind UI - Component library made with Tailwind CSS.
- ðð Headless UI - Completely unstyled, fully accessible UI components.
- ðð Catalyst - Beautiful, accessible application UI kit for React.
- ð§© shadcn UI - Re-usable components built using Radix UI and Tailwind CSS.
- ð§© Layouts for Tailwind - Layouts and UI patterns for Tailwind CSS.
- ð§© Meraki UI Components - Beautiful Tailwind CSS components that support RTL languages.
- ð§© Kometa UI Kit - Free multi-purpose UI kit, built with Tailwind CSS.
- ð§© HyperUI - Open source marketing and ecommerce Tailwind CSS components.
- ð§© Ripple UI - Clean, modern and beautiful Tailwind CSS components.
- ð§© Pines UI - Alpine and Tailwind CSS UI library.
- ð§© Kokonut UI - Collection of modern, interactive customizable UI components.
- ð§© 8bitcn UI - Re-usable retro components built using Shadcn UI and Tailwind CSS.
- ð§© Xtend UI - Tailwind CSS components with advanced interactions and animations.
- ð§© Tremor - React library to build charts and dashboards with Tailwind CSS.
- ð Daisy UI - UI Components for Tailwind CSS.
- ð Flowbite - Component library built with Tailwind CSS.
- ð STDF - Mobile web component library based on Svelte and Tailwind CSS.
- ð Preline UI - Open-source Tailwind CSS components library for any needs.
- ð Date picker - Adds a datepicker component built with Tailwind CSS and vanilla JavaScript.
- ð Built at lightspeed - Massive directory of 500+ Tailwind templates, starters and UI kits.
- ð Admin One Vue 3 - Free Vue.js 3 Tailwind CSS admin template with Vite & Vue CLI support.
- ð Admin One React - Free React.js Tailwind CSS admin template with Next.js & TypeScript.
- ð Flowbite Admin Dashboard - Open-source admin dashboard template built with Tailwind CSS and Flowbite.
- ð Astro Template Resume - Eye-catching resume template built with Astro, Tailwind CSS.
- ð Astro Template Cactus - Tailwind CSS Astro starter template.
- ð Astro Template Ovidius - Tailwind CSS & Astro blog template.
- ð Astro Template Dante - Tailwind CSS & Astro blog/portfolio template.
- ð Statichunt - Open source directory of hand-picked free and premium Tailwind templates & starters.
Plugins
Legend: ð Official plugin · ð¨ Theming · ð¼ Utilities · ð§© Components · ð Deprecated
- ðð§© Typography - Adds a
prose
class for beautiful typographic defaults. - ð Forms - Adds better default styles to form elements.
- ð¨ Themer - Adds theming support for Tailwind CSS with CSS variables and variants.
- ð¼ Bootstrap grid - Generates Bootstrap's style flexbox grid system.
- ð¼ Dot & grid backgrounds - Adds
bg-grid
andbg-dot
classes to add easy-to-customize grid and dot pattern backgrounds with just CSS. - ð¼ Leading Trim - Adds utilities to trim text whitespace, using Capsize.
- ð¼ Scrollbar Hide - Adds
scrollbar-hide
class for visual hide scrollbar. - ð¼ px to viewport - Adds utilities to automatically convert px to vw / vh.
- ð¼ð§© Fluid - Adds fluid
clamp()
versions of every built-in utility. - ð§© Debug screens - Adds a component that shows the currently active screen (responsive breakpoint).
·
Contributions welcome! Read the contribution guidelines first.
Top Related Projects
A utility-first CSS framework for rapid UI development.
The instant on-demand atomic CSS engine.
Next generation utility-first CSS framework.
The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.
Chakra UI is a component system for building SaaS products with speed ⚡️
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot