DEV Community

Cover image for Tails πŸŒͺ️ - Beautify open-source TailwindCSS Components
Bobby Iliev
Bobby Iliev

Posted on • Edited on

Tails πŸŒͺ️ - Beautify open-source TailwindCSS Components

With Hacktoberfest just around the corner, here is a nice open-source TailwindCSS project which you might want to contribute to! ❀️

Tails is a (no-config) copy'n paste library of templates and components hand-crafted using TailwindCSS.

Feel free to contribute on GitHub πŸ’š

GitHub logo thedevdojo / tails-components

The Tails Open Source Components are a (no-config) copy'n paste free collection of hand-crafted templates and components built in TailwindCSS.

πŸ’œ Tails - Open Source Components

The Tails Open Source Components are a (no-config) copy'n paste free collection of hand-crafted templates and components built in TailwindCSS.

πŸ’» Tails - TailwindCSS Page Creator

Tails is the ultimate drag'n drop page creator built for TailwindCSS. Tails comes with over 190+ hand-crafted premium components to help you look pretty for your customers.

πŸ”— Links

⚑ Usage

It's pretty simple to use any of these components or templates in your project. Any component you wish to use can be copied and pasted into your own project. Visit the Components page to view the components and view the source code. Additionally, you can view the Templates and simply copy and paste these templates into your own project.

🀲 Contributing

🍿  Watch the quick 5 minute video below where you'll learn how to…

NOTE: All Tails components are free, and always will be!

Make sure to also check the premium version of Tails here:

TailwindCSS Page Creator

And check out the promo video here:

Usage πŸ”₯

It's pretty simple to use any of these components or templates in your project. Any component you wish to use can be copied and pasted into your own project. Visit the Components page to view the components and view the source code. Additionally, you can view the Templates and simply copy and paste these templates into your own project.

Features ✨

❀️ Responsive: Crafted with minimalistic UI design
TailwindCSS Open Soruce templates and components

❀️ Live preview

Tailwind CSS live preview and PlayGround

❀️ Tailwind CSS PlayGround

TailwindCSS online playground free editor

Built with πŸ”§

  • HTML - For the web framework
  • Tailwind CSS - For styling components
  • Alpine JS - To add to the JavaScript magic

Contributing ❀️

If you are contributing, please read the contributing file before submitting your pull requests.

Demo πŸš€

Tailwind CSS Playground

If you want a heads up on my next projects, or just want to chat about the web, make sure to follow me @bobbyiliev_ πŸ’™.

Happy Coding ❀︎

For more information about DevDojo and Hacktoberfest make sure to visit this page here.

Any feedback is appreciated ✨

Top comments (3)

Collapse
 
chandra_pantachhetri profile image
Chandra Panta Chhetri

Very nice list of components - lots of options for a variety of use cases.

However, it is hard to navigate through the components. Not sure if I've missed it, but I have to scroll through them and keep clicking load more. If there was a search or a menu, would be good.

Collapse
 
bias profile image
Tobias Nickel

i got a feeling here, and I got that before with bootstrap and tailwind seems similar to me.

both, define lots of classes and on a single object prople add lots of then. Why is it, that adding 5 classes of tailwind is preferred over adding a style attribute?

Collapse
 
jayswaan profile image
JaySwaan

Tailwind and Bootstrap have almost nothing in common. Perhaps give Tailwind a try on a small project and see how you feel afterwards. I'd recommend using it with a component based framework like Vue/Svelte/React.

As far as why classes are preferred over using a style attribute... reusability, speed, and developer experience come to mind. If you have a primary color in your application and you want 10 components to use it as text and background color with inline styles you either set up a CSS Var and reference all over the place like color: var(--primaryColor) and background-color: var(--primaryColor) or with Tailwind it would simply be a few classes text-primary and bg-primary you put anywhere.

Additionally there are Tailwind plugins for VS Code that give you autocompletion and let you peek at your full list of utilities and what styles they apply. When combined with a component based framework you're usually writing the styles one time for each type of component in your app and then putting it anywhere. It prevents duplication, keeps you in the HTML and feels more like you're describing the components than writing the style for them.

Tailwind also gives some sweet group hover, group focus features and utilities for interaction that would be impossible with inline styles.

Last point: Tailwind runs with Post CSS and if you set it up properly you get access to a bunch of CSS tools like nano, autoprefix, CSS next etc... this helps you get small outputs, uniform spacing, good looking customizable layouts, future features and cross-browser compatibility with little effort after the initial setup.