All Projects → asvny → building-realworld-user-interfaces-using-tailwind

asvny / building-realworld-user-interfaces-using-tailwind

Licence: MIT License
Demo of building real-world UIs using TailwindCSS

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to building-realworld-user-interfaces-using-tailwind

tailwind-bootstrap-grid
Tailwind CSS plugin that generates Bootstrap's flexbox grid
Stars: ✭ 96 (+10.34%)
Mutual labels:  postcss, tailwindcss
Tailwindcss
A utility-first CSS framework for rapid UI development.
Stars: ✭ 50,879 (+58381.61%)
Mutual labels:  postcss, tailwindcss
Awesome Tailwindcss
😎 Awesome things related to Tailwind CSS
Stars: ✭ 7,791 (+8855.17%)
Mutual labels:  postcss, tailwindcss
sapper-template-rollup
Starter Rollup template for Sapper apps using postcss, cssnano, tailwindcss, and svelte-preprocess.
Stars: ✭ 32 (-63.22%)
Mutual labels:  postcss, tailwindcss
postcss-typed-css-classes
PostCSS plugin that generates typed entities from CSS classes for chosen programming language.
Stars: ✭ 12 (-86.21%)
Mutual labels:  postcss, tailwindcss
Shopify Theme Lab
Shopify theme development environment using Liquid, Vue and Tailwind CSS 🧪
Stars: ✭ 250 (+187.36%)
Mutual labels:  postcss, tailwindcss
Postcss Elm Tailwind
put some tailwind in your elm
Stars: ✭ 80 (-8.05%)
Mutual labels:  postcss, tailwindcss
sapper-postcss-template
A template that includes Sapper for Svelte and PostCSS preprocessing with Tailwind CSS
Stars: ✭ 84 (-3.45%)
Mutual labels:  postcss, tailwindcss
tailwind-caret-color
Tailwindcss plugin to color caret in input fields
Stars: ✭ 12 (-86.21%)
Mutual labels:  postcss, tailwindcss
A17t
An atomic design toolkit for pragmatists
Stars: ✭ 236 (+171.26%)
Mutual labels:  postcss, tailwindcss
tailwind-airbnb
A demo of how to build Airbnb's home page using Tailwind CSS
Stars: ✭ 39 (-55.17%)
Mutual labels:  postcss, tailwindcss
tailwindcss-postcss-browsersync-boilerplate
Tailwind CSS + PostCSS + BrowserSync boilerplate
Stars: ✭ 28 (-67.82%)
Mutual labels:  postcss, tailwindcss
tailpress
A Tailwind CSS enabled Underscores theme
Stars: ✭ 60 (-31.03%)
Mutual labels:  postcss, tailwindcss
Tailwindcss Dark Mode
🌚 A Tailwind CSS plugin that adds variants for dark mode
Stars: ✭ 649 (+645.98%)
Mutual labels:  postcss, tailwindcss
XT-TailwindCSS-Starter
A Tailwind CSS Starter. Based on Tailwind CSS, Webpack, PostCSS, and cssnano. Fully optimized for top performance.
Stars: ✭ 19 (-78.16%)
Mutual labels:  postcss, tailwindcss
Sapper Template Firebase
Starter Rollup template for Sapper apps with Firebase functions based on https://github.com/nhristov/sapper-template-rollup.
Stars: ✭ 29 (-66.67%)
Mutual labels:  postcss, tailwindcss
hugo-starter-tailwind-basic
A basic and simple to set up Hugo with TailwindCSS starter project.
Stars: ✭ 80 (-8.05%)
Mutual labels:  postcss, tailwindcss
eleventy solo starter njk
Further development suspended as of 2021-09-11. Please refer instead to https://www.11ty.dev/docs/starter/ for a wide selection of other Eleventy starter sets.
Stars: ✭ 22 (-74.71%)
Mutual labels:  postcss, tailwindcss
Sapper Firebase Typescript Graphql Tailwindcss Actions Template
A template that includes Sapper for Svelte, Firebase functions and hosting, TypeScript and TypeGraphQL, Tailwind CSS, ESLint, and automatic building and deployment with GitHub Actions
Stars: ✭ 111 (+27.59%)
Mutual labels:  postcss, tailwindcss
stencil-tailwind-plugin
Plugin for using tailwindcss with StencilJS
Stars: ✭ 17 (-80.46%)
Mutual labels:  postcss, tailwindcss

Building-real-user-interfaces-using-tailwind

Examples of building realworld user interfaces using Tailwind.css

The websites that I have tried to replicate are:

Shopify

Netlify Atlassian

Thoughts on Atomic CSS

Since there are already lots of posts, I'll just brief the intro part. For a very long time (from 2014), my preference has always been

  • SUIT CSS for UI components like buttons, forms, base layouts etc..,
  • Atomic CSS for almost all other usecases.

Why ? It is because when you work on a greenfield project, the base UI components doesn't change much and mostly it usually changes in color or typography and main project UIs change very frequently and so therefore it is necessary to consider that deletion of code should become easier when coding new UIs. To achieve this, using atomic css in the main product for layouts and all other cases, it becomes the only source. So, when a designer comes in with a new UI, it feels quite easier to delete the already coded template or react/ember/vue or in this case any other component and quickly again, we can iterate on the new UI without writing any additional CSS but only the template part.

When things get messy ?

  • Using :nth-child, :only-child etc.., selector is quite uneasy. Simple example which I can illustrate is
<!--
Usually in frontend frameworks, we use .map(js) or #each(hbs) to loop over data, it becomes difficult
to achieve the following example 
-->

<ul class="p-0 m-0">
  { data.map(item => `
  <li class="bt-gray-500">{item.title}</li>
  `) }
</ul>

<!-- Outcome

Rachel Green 
---------------
Monica Geller 
---------------
Joey Tribbiani 
---------------
Chandler Bing  
--------------- (This should not be displayed)

Expected

Rachel Green 
---------------
Monica Geller 
---------------
Joey Tribbiani 
---------------
Chandler Bing

-->
  • When you have to deal with states like hover, active, focus etc., (but luckly Tailwind.css came with a solution)
  • Responsive design - You get to add a lot of classes and becomes quite unfamiliar what the element does at a single glance.

Author

Annamalai Saravanan

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].