Seven Reasons Why I Love Shadcn UI
Published: 2023-11-23 21:40:13

---
title: Seven Reasons Why I Love Shadcn UI
published: true
description: 
tags: 
cover_image: https://miro.medium.com/v2/resize:fit:4800/format:webp/1*wgjzWi9ceYyb5yDwNM17sg.png
# Use a ratio of 100:42 for best results.
# published_at: 2023-11-23 21:34 +0000
---

Shadcn UI is a pretty new React component library by shadcn.

It’s built on top of Tailwind and Radix-UI, and I really enjoy using it lately.

Here are seven reasons why:

## 1. It’s Gorgeous
First off, it’s beautiful.

Shadcn UI has a modern, minimal design out of the box. It’s smooth.

The interactions and animations are already built for dropdowns, alerts, and dialogs.


![Shadcn UI Dialog Component](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5oeznlfhtivfekyawju8.gif)

## 2. Modular & Easy Installation and a CLI
There’s no scary monster dependency of 2mb to install and ship to users.

Every component can be installed separately, and Shadcn even created a CLI. Adding a component is as simple as:

`npx shadcn-ui add card.`

You can also just copy, paste, and you’re all set.


## 3. Full Control
This leads to the following reason: the components aren’t just ready to use but also ready to tweak.

Some libraries lock you into their way of doing things, but in Shadcn UI, you get complete control, and customization is simple.

## 4. It’s more of a building block than a component library
Shadcn UI differs from other component libraries because it resembles a LEGO set.

Even the docs say: “Use this as a reference to build your own component libraries.”.

And at the end, almost every company wants its own component library instead of committing to a specific style, which is usually hard to extend or customize.

These two different designs are made with Shadcn UI components:


![shadcn-ui task example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/85prd7lhh2gz39f1gs74.png)

![shadcn-ui music example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a0ui0qbxnoxhbr9twr6n.png)


## 5. Accessibility
Inclusivity is built in.

The components are made to be accessible since the underline library is radix-ui, which is an Unstyled, accessible component library for React.

Your apps will be user-friendly to all. And in this day and age, that’s not just nice — it’s essential.

## 6. Docs
The docs are perfect. Clear, packed with examples, they make it a breeze to understand how to use and customize components.

## 7. Dark/Light Theme
What’s the most critical thing for an app to be successful? That’s right — a dark theme.

Shadcn UI has a dark and light theme out of the box. And you can easily customize it to your needs.

— -

An example of an app I created lately with Shadcn UI is a getting things done task management aapp; you can view it here:

[https://github.com/eyalcohen4/GTD](https://github.com/eyalcohen4/GTD)

And don’t just take my word for it. I really recommend you give it a try in your next project.

Shadcn has even made a [template you can use as a starter](https://github.com/shadcn/next-template), or you can follow [the instructions here to add it to an existing project](https://ui.shadcn.com/docs/installation)

Happy coding!


*originally published at [coheneyal.com](https://coheneyal.com/blog/seven-reasons-why-i-love-shadcn-ui)*