A @shadcn.com
theme inspired by T3 chat
was due, so I did it!
Do you approve @t3.gg?
Check it out: themux.vercel.app
@ll-luis.bsky.social
Software Engineering Student π§πΌβπ»Frontend Web Developer React | TypeScript | Next.js llanesluis.xyz
A @shadcn.com
theme inspired by T3 chat
was due, so I did it!
Do you approve @t3.gg?
Check it out: themux.vercel.app
Pretty (and fully functional) on mobile too btw!
09.04.2025 06:12 β π 0 π 0 π¬ 0 π 0Update on my theme customizer, now it:
β
Supports Tailwind v4 and v3
β
Supports oklch, hsl, rgb and hex
β
Allows user to paste their primary color as a starting point
β
Provides surface presets (background, card, popover, etc)
β
Letβs the user sync light and dark mode
β
Token color picker
#shadcn
Thank you so much, it means a lot!! Fun features coming soon;)
09.04.2025 03:34 β π 0 π 0 π¬ 0 π 0github.com/llanesluis/t...
themux.vercel.app
For the last 2 weeks Iβve been building a shadcn/ui theme customizer that supports Tailwind V4. For my pleasant surprise, I just found out that @shadcn.com is building the official one!!
I took lots of inspo from the V3 one, Iβd be happy to share what Iβve done:D
#shadcn/ui #tailwind4
A shadcn/ui theme generator that works with Tailwind CSS version 4
The tool provides presets, and soon youβll be able to create your own themes
The generated code is ready to be copied and pasted into your css file, providing color variables in `oklch`
Thereβs a page containing *most* of shadcn/ui components to showcase the styles applied
π¨ shadcn/ui + Tailwind CSS v4 theme generator
β
Default shadcn presets using Tailwind v4
β
Custom presets and radius
β
All shadcn components showcase
β
Just copy and paste to your css file
πSoon:
- Allow the user to make their own theme
- Fonts playground
themux.vercel.app
#shadcn #tailwindcss
I havenβt made the switch yet but Iβve heard their docs have links to YouTube videos
09.03.2025 18:13 β π 1 π 0 π¬ 1 π 0{ !!array.length && β¦ }
Works since React skips *false* and nullish values when rendering
IMO you should give 3 a chance and see how it does
22.02.2025 00:11 β π 1 π 0 π¬ 0 π 0How many of them mentioned your favorite actresses? :o
15.02.2025 02:42 β π 1 π 0 π¬ 1 π 0Spanish:
> Aprende a crear interacciones ΓΊnicas y detalles encantadores con la magia de CSS, JavaScript, SVG y Canvas.
>
> Β‘AquΓ comparto todos mis trucos!
This version shows the *intention* and sounds *natural*, also *neutral* across all Spanish dialects ;)
When we say "React compares the Virtual DOM to the Real DOM to make only the necessary changesβ¦", are talking about the *Current Fiber Tree* (representing the Real DOM snapshot) and the *WorkInProgress Fiber Tree* (representing the Virtual DOM snapshot, which means React Element Tree snapshot) ??
21.01.2025 03:04 β π 0 π 0 π¬ 0 π 0Iβm glad I found your content! I like understanding how my tools *work* under the hood.
20.01.2025 04:44 β π 1 π 0 π¬ 0 π 0I canβt tell how good this article is!
Iβm not even half way done with it and it already clarified so many things, Iβm blown away. @tonyalicea.dev thanks!
tonyalicea.dev/blog/underst...
I had an issue once where the JavaScript interpreter couldnβt tell it was an IIFE (without assigning the result to a variable), just because I wasnβt using semicolons :/
In these cases you could:
1. Write semicolons
2. Write βvoidβ before the IIFE
3. Not use IIFEs lol
Is it using Tailwind 4? Have you tried it yet? Hopefully it comes out soon
13.01.2025 05:43 β π 1 π 0 π¬ 1 π 0Donβt know what hurts my eyes more: the light theme or that many props lol
13.01.2025 05:29 β π 1 π 0 π¬ 1 π 0Works perfectly and out of the box if you have shadcn and next-themes set up
12.01.2025 03:44 β π 2 π 0 π¬ 0 π 0Itβs using:
> Next.js
> next-themes
> TailwindCSS
> lucide-react icons
> next/dynamic API to disable SSR
Showcase of the devtool, it shows the screen size, the current screen breakpoint and the active theme, allowing you to change the theme easily. It makes building responsive websites so much easier!
I built this silly devtool and itβs been SO useful when building responsive websites
- just render it on the Root Layout
- does not ship to production bundle
- runs client side only to avoid hydration errors due to βwindowβ
- can be hidden when itβs being annoying
github.com/llanesluis/t...
A couple days in and Iβve help many people already! π₯²
06.01.2025 06:24 β π 3 π 0 π¬ 0 π 0Few things are better for your career than being known as a helpful person
04.01.2025 21:26 β π 154 π 6 π¬ 6 π 0Dynamic APIs in Next.js 15 now require to be awaited since theyβre now Promises. I suggested typing params as Promise<> and then either await it (server components) or use βuse()β new React 19 API
How to pass seachParams around server components without prop drilling or context in client components (without giving up SEO and quick first paint)
follow up of the previous screenshot
@t3.gg said βshow the world that you kinda know what youβre talking aboutβ.
So I finally got involved and shared what Iβve learned.. Iβve been helping people on Discord servers @nextjs.org, @t3.gg and @codinginflow.bsky.social, and oddly enough I happen to know the right answers :β) feels good!
Exactly.
At the end it all depends on the user experience you want to provideπ€·
Regarding the H2s, maybe moving them to the parent component would be best to only show the skeleton for the component itself, after all theyβre part of the page π€·
30.12.2024 21:12 β π 1 π 0 π¬ 1 π 0If both child components are wrapped in its own Suspense it wouldnβt matter, both fetches will trigger simultaneously, show their respective fallback and stream in independently.
If both child components are wrapped within the same Suspense both will wait until the slowest resolves
I would wrap each component in its own <Suspense>, so each can resolve independently. I would also fire the promises in the parent component and pass down as props to each child component.
Other than that I guess it depends on the user experience you want to provide.
What is this font it looks so pleasing lol π
07.12.2024 02:52 β π 0 π 0 π¬ 1 π 0Isnβt that what TanStack Start is going for? Thatβs my impression
01.12.2024 20:50 β π 1 π 0 π¬ 1 π 0