tailwind-merge
shadcn/ui
tailwind-merge | shadcn/ui | |
---|---|---|
12 | 141 | |
4,037 | 57,417 | |
- | 6.3% | |
9.0 | 9.3 | |
5 days ago | 6 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tailwind-merge
-
Tailwind CSS for frontend teams: From settings to rules
So the library I use is tailwind-merge, which is a class that eliminates conflicts between classes when using Tailwind. So I created the following utility function.
-
Styling React 2023 edition
clsx is a tiny utility for constructing className strings conditionally, I use it in conjunction with tailwind-merge which merges Tailwind CSS classes without style conflicts.
- Tailwind vs. Semantic CSS
-
How to merge Tailwind class in Elixir Phoenix
I searched for a solution, and I found tailwind-merge which is written in JavaScript. Basically it finds conflicted classes and resolve the conflict. For example:
-
TailwindCSS & Template Literals
I would suggest you to use CVA and tailwind-merge.
-
Merge Tailwind CSS classes without style conflicts
Hey everyone! I built an open source library called tailwind-merge which helps with resolving style conflicts in CSS class strings. โ https://github.com/dcastil/tailwind-merge
-
Why can I not override class?
I used tailwind-merge and cva to build my UI component library Rewind-UI.
-
Is tailwind used in real world when working at companies?What do you use to style your website
I use Tailwind + Next.js on most of my projects. Usually I add the following to the mix: - RadixUI+ tailwindcss-radix or HeadlessUI although I like Radix more - classnames - https://tailwindcss.com/blog/automatic-class-sorting-with-prettier - tailwind-merge - CSS Modules
-
How can I override Vue's behavior for merging classes?
I'm using Tailwind CSS and I'd like to integrate a library called tailwind-merge into my Vue app. I'd like the plugin to replace Vue's class appending behavior so that all components in my app have their Tailwind utility classes merged to prevent style conflicts. It may not be everyone's preferred solution to such a problem, but I think it's a very valid use cases for this sort of thing.
shadcn/ui
-
Integrate Copilot feature into your React applications using CopilotKit
Shadcn UI
-
Shadcn UI: A Developer's Delight (My Experience)
You can access shadcn/UI using the following links. Official Site Github Repo
-
Create an AI prototyping environment using Jupyter Lab IDE with Typescript, LangChain.js and Ollama for rapid AI prototyping
I build an Angular or React app or smart component that uses the store in an Nx monorepo. I use the Shadcn UI in React apps, and the Shadcn-based spartan/ui in Angular apps, so I can use almost the same app architecture both in Angular and React.
-
How to Build Your Own ChatGPT Clone Using React & AWS Bedrock
Finally, for our front end, weโre going to be pairing Next.js with the great combination of TailwindCSS and shadcn/ui so we can focus on building the functionality of the app and let them handle making it look awesome!
-
System & Database Design (Day 1) - Creating a SaaS Startup in 30 Days
Shadcn/ui: I've never tried it before but have always wanted to switch from MaterialUI
- JoblessDev: New Open-Source CS Job Platform for Students and Recent Grads
-
Show HN: Open Source TailwindCSS UI Components
Honestly the ergonomics of heavily customizable generic component libraries aren't great. Copy and pasting a simple component to make the specific customizations you want helps reduce JS ecosystem churn and dependency pain. Popularity of libraries like shadcn/ui [1] are good acknowledgements of that.
[1] https://ui.shadcn.com/
-
Embark on a UI Odyssey: Top 5 Spectacular Libraries to Explore
shadcn/ui
-
Supabase Bootstrap: the fastest way to launch a new project
This model is very similar to the popular shadcn workflow. After files are creating in your local repo, you can modify them and check them into source control.
-
Best Next.js Libraries and Tools in 2024
Link: https://ui.shadcn.com/
What are some alternatives?
tailwindcss-classnames - Functional typed classnames for TailwindCSS
daisyui - ๐ผ ๐ผ ๐ผ ๐ผ ๐ผ โThe most popular, free and open-source Tailwind CSS component library
classnames - A simple javascript utility for conditionally joining classNames together
nextui - ๐ Beautiful, fast and modern React UI library.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
material-ui-docs - โ ๏ธ Please don't submit PRs here as they will be closed. To edit the docs or source code, please use the main repository:
clsx - A tiny (239B) utility for constructing `className` strings conditionally.
flowbite - Open-source UI component library and front-end development framework based on Tailwind CSS
tailwindcss-intellisense - Intelligent Tailwind CSS tooling for Visual Studio Code
mantine - A fully featured React components library
headwind - An opinionated Tailwind CSS class sorter built for Visual Studio Code
antd - An enterprise-class UI design language and React UI library