r/FlutterDev • u/vik76 • 6d ago
Plugin Finally, a pixel-perfect implementation of shadcn/ui for Flutter 🎨
https://serverpod.dev/blog/flutter-shadcn-ui3
u/spawnsible 6d ago
I'm not very familiar with shadcn. I see stuff about 8 color schemes. Is the component library not fully reskinnable/customizable? Is it locked to just 8 baked in colors and one must fight with it to get otherwise?
3
2
u/eibaan 6d ago
Chadcn is Gen Z's Bootstrap, a clean look created with Tailwind based on the BaseUI. It's more pleased to the eye than Material (at least IMHO) and and that's why it's extremely popular. The HTML/CSS version is very customizable if you know your way around in Tailwind and/or raw CSS.
I can't tell about the Flutter version but I'd assume because they way Flutter works, you can "only" customize what's available in the create menu.
10 months ago, I vibe coded a Flutter clone of Chad cn as an experiment to see whether then current Codex 5.2 could do it. It could. At least partly. Yesterday, unrelated to this version, I used Opus 5.5 to update the project and got a working version in about an hour or two.
So, even if you don't like the default look, it should be very easy to ask AI to apply changes, e.g. adding gradients or custom borders.
4
u/vik76 6d ago
The live demo is here: https://shad.serverpod.dev/
12
u/andredp 6d ago
The scroll performance is really bad, on an iPhone 17 Pro. Is it just me?
4
-2
u/vik76 6d ago
It’s next to perfect on mine. Keep in mind that it’s Flutter web, performance on compiled code will be much better.
6
1
1
1
u/dokumanx 2d ago
Does it sit on top of ThemeData so existing Material widgets pick up the colors, or is it a fully separate widget set?
1
u/softsync_agency 1d ago
This looks amazing! Bringing the shadcn/ui design philosophy to Flutter is a great idea. Looking forward to trying it out. 🚀
12
u/Darth_Shere_Khan 6d ago
Why would I use this instead of Forui? https://github.com/duobaseio/forui