next-themes
shadcn/ui
next-themes | shadcn/ui | |
---|---|---|
22 | 141 | |
4,455 | 57,417 | |
- | 6.3% | |
7.8 | 9.3 | |
4 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.
next-themes
-
Task tracker application using NextJS and SurrealDB
Next themes is used for themes switching
-
Introducing Shadcn UI: A reusable UI component collection
Shadcn UI supports dark mode for Next.js and Vite applications. For Next.js applications, Shadcn UI uses next-themes for the dark mode toggling functionality. When a user toggles between light and dark mode, the application switches between the light and dark theme tokens.
-
Implementing Tailwind CSS Dark Mode Toggle with No Flicker
Let’s start with Next.js. We’ll use the next-themes package, which allows us to handle dark mode very easily without worrying about blocking page rendering to check user preferences.
-
How to Build a Developer Blog using Next JS 13 and Contentlayer - Part three
"use client"; import React from "react"; import { ThemeProvider as NextThemesProvider } from "next-themes"; import { ThemeProviderProps } from "next-themes/dist/types"; // https://github.com/pacocoursey/next-themes/issues/152#issuecomment-1364280564 // needs to be called NextThemesProvider not ThemesProvider // not sure why export function Providers(props: ThemeProviderProps) { return ; }
-
Step-By-Step Guide to Adding Dark Mode and Multiple Themes to Your Next.js App
Next themes
- NextJs Portfolio
- How to avoid UI flickering with darkmode ?
-
No-brainer Dark Mode for Next.js
It is that simple. It has 74,528 weekly npm downloads and if it's good enough for @leeerob, it's good for me too. Get creative with your loading state and toggle button (or not && KISS). Check out their next-themes GH repo for more info.
-
Mantine 5.0 is out – 140+ hooks and components with dark theme support
also: https://github.com/pacocoursey/next-themes
-
Help me reach Lighthouse 100 performance score
i usually use https://github.com/pacocoursey/next-themes when dealing with themes, it doesnt flash
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?
Next.js - The React Framework
daisyui - 🌼 🌼 🌼 🌼 🌼 The most popular, free and open-source Tailwind CSS component library
tailwindcss-theme-swapper - A helper for getting tailwind values into css custom properties and switching them between media queries and classes. You can try it out here: https://play.tailwindcss.com/Gt21fePNvv
nextui - 🚀 Beautiful, fast and modern React UI library.
tailwind-with-css-variables - Repo for the Blog 'Using CSS variables with TailwindCSS'
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:
use-dark-mode - A custom React Hook to help you implement a "dark mode" component.
flowbite - Open-source UI component library and front-end development framework based on Tailwind CSS
darkmode-nextjs-tailwind
mantine - A fully featured React components library
leerob.io - ✨ My portfolio built with Next.js, Tailwind, and Vercel.
antd - An enterprise-class UI design language and React UI library