What Svelte UI Library Should You Use?

  Переглядів 42,385

Joy of Code

Joy of Code

День тому

I tried every Svelte UI library, so you don't have to.
👉️ Support
▶️ UKposts Membership
youtube.com/@joyofcodedev/join
🔴 Patreon
/ joyofcode
👉️ Links:
List Of Svelte UI Libraries
🔗 joyofcode.xyz/svelte-ui-libra...
Headless UI
🔗 svelte-headlessui.goss.io/docs
Material Design
🔗 sveltematerialui.com/
Carbon Components Svelte
🔗 carbon-components-svelte.onre...
SvelteUI
🔗 www.svelteui.org/
Attractions
🔗 illright.github.io/attractions/
proi-ui
🔗 proi-ui.vercel.app/
daisyUI
🔗 daisyui.com/
Flowbite
🔗 flowbite-svelte.com/
Skeleton
🔗 www.skeleton.dev/
AgnosticUI
🔗 www.agnosticui.com/
Bootstrap
🔗 getbootstrap.com/
Bulma
🔗 bulma.io/
BeerCSS
🔗 www.beercss.com/
👉️ Uses:
🔗 joyofcode.xyz/uses
👉️ Socials:
🐦️ / joyofcodedev
🔖 Timestamps
0:00 Intro
0:45 Headless UI
2:44 Svelte Material UI
4:11 Carbon Components Svelte
6:28 daisyUI
6:42 Flowbite Svelte
7:14 Skeleton UI
8:57 SvelteUI
11:05 Attractions
12:57 proi-ui
13:55 Framework Agnostic
13:58 Agnostic UI
15:54 Bootstrap
16:45 Bulma
17:09 BeerCSS
18:09 Outro
#svelte #sveltekit #ui #joyofcode

КОМЕНТАРІ: 123
@JoyofCodeDev
@JoyofCodeDev Рік тому
What UI library do you use?
@weiiswurst
@weiiswurst Рік тому
daisy UI
@johntierney3353
@johntierney3353 Рік тому
I keep coming back to DaisyUI even thought DaisyUi is far from perfect. I wish it was more ARIA compliant. Heavy use of hidden check boxes which does not have the best behavior with Svelte. Svelte is really pushing ARIA compliance with it's latest releases. Tooltip component breaks when placed at the edge of the viewport. Anything that uses SASS I immediately discard.
@JoyofCodeDev
@JoyofCodeDev Рік тому
@@themiddlelayer Looks like something I would love to use!
@paivagabriel
@paivagabriel Рік тому
I'm using Svelte Headless UI with Tailwind UI components and that really boost my frontend productivity. I'm just missing the ComboBox component, because it was released by Tailwind after the project's author "had disappeared" lol.
@isaacfink123
@isaacfink123 Рік тому
Tailwindui (paid) with headless ui, I customize the colors and spacing at the beginning of a project and it's a simple search and replace, if I reuse an element I'll abstract it in a component and make it type safe but otherwise it's nit a lot of work and I have full control
@tatoElpaisa
@tatoElpaisa Рік тому
+1 for Flowbite-Svelte, absolutely love it!
@1Andypro
@1Andypro Рік тому
Great overview. I hadn't heard of Skeleton UI but it looks promising. If I had to choose for a new project today, I think I would start with Headless UI (for the functionality) and then put Tailwind and Daisy UI (which can really be thought of as a tailwind add-on) for the styling. That way you get compliant form elements that have a reasonably good looking starting point.
@lifedrawing1
@lifedrawing1 Рік тому
Captain Codeman has created an alternative ‘Svelte Headless UI’ by using Svelte actions and stores instead of a port of the React library. It’s much leaner and philosophically quite pleasing.
@JoyofCodeDev
@JoyofCodeDev Рік тому
Looks interesting!
@ChristianRau
@ChristianRau Рік тому
It sure does. For the examples goes it works as intended.. But I find it a bit challenging to work with the wrappers.. ( My use have been limited though )
@aislanarislou
@aislanarislou Рік тому
Where is the github repo?
@JoyofCodeDev
@JoyofCodeDev Рік тому
@@aislanarislou github.com/captaincodeman/svelte-headlessui
@simonnice9030
@simonnice9030 11 місяців тому
Thank you for the Skeleton UI recommendation! I'm watching this five months later and it really seems to have improved a lot! At work we're using a custom design system for our applications but this is really nice when you just want to get down to creating the applications, it's perfect for my own projects. I will continue to support Skeleton UI and follow them closely since it's a real chance I will be using them a lot from now on! As others wrote here before me it will probably be the first open source project I actively support!
@RolandAyala
@RolandAyala Рік тому
+1 for Svelte headless UI. The author did a great job porting it over from Tailwind Labs, and it's documented better than the official Headless UI library IMO. Since I'm coming over from Nextjs + Tailwinds/Headless, this was an easy transition for me. For anybody who's interested in theming, Daisy UI also works on SvelteKit, but I use Daisy just for the themes and roll my own for everything else. Daisy is a Tailwind plug-in, and no issues with Tailwinds itself since not a component lib (at least in traditional sense).
@surfingmindwaves
@surfingmindwaves Рік тому
I started with Daisy UI for my side project but then switched to Skeleton UI and absolutely love it! Also started contributing to it as my first open source project. Really excited about where it's headed!
@AlexanderSuraphel
@AlexanderSuraphel 10 місяців тому
Skeleton looks great. What datepicker are you using with it?
@nirewen_old
@nirewen_old Рік тому
I really want Svelte to mature and to have even more UI libraries. I also hate Material UI and it's awful the amount of libraries for Material UI you have for Svelte. You have Smelte, SMUI, Svelte Materialify, MDBSvelte, etc. Like, why? Earlier this year, I've been testing one that I really find beautiful, *Fluent Svelte* . It's in very very beta at the moment, it's not fully ready for a11y yet. It's based on Microsoft's Fluent Design (for Windows 11). I want a UI library that feels awesome to use, and that I don't have to tweak the source code too much for things to work. No hacks, no jury-rig, no nothing. Just work. I do like to write CSS on my own sometimes, but when I don't, I find myself in a pit of incomplete UI libraries, even abandoned. To be honest, I know most developers are also waiting for Svelte to mature, to finally reach 1.0.0 and to have a stable API. Too many breaking changes for Kit make developing Svelte libraries unfeasible. Until then, it's either verbose my code with Tailwind classes, write pure CSS at the bottom of .svelte files, or stick with another framework, for me.
@JoyofCodeDev
@JoyofCodeDev Рік тому
Yeah, that's how I feel! 😄
@lahcencodery
@lahcencodery Рік тому
I used skeleton and it's my favorite so far, agree that some built-in themes has some contrast issues but I believe this will be fixed at some point, if not you can craft your theme easily using css variables
@endigo9740
@endigo9740 Рік тому
Thanks Ben! I'm the creator and core contributor for Skeleton. We're aiming to have the contrast issues fixed in the next update. Full a11y support is our goal, even if it takes a while to get there. Feel free to check out our dev channels if you want to monitor progress. All are welcome!
@johanheyvaert
@johanheyvaert Рік тому
I like the idea and the functionality, but Skeleton UI looks (IMO) so ugly. Maybe I'm old-fashioned but I prefer the look of Material Design. Seems much more refined. (sorry... taste differs, eh)
@RisalFajar
@RisalFajar Рік тому
I always use Flowbite Svelte, it's good. Haven't tried skeleton though.
@Asgrim_S
@Asgrim_S Рік тому
It looks like SkeletonUI fixed every issue you mentioned (checkboxes, contrasts etc.) :D
@JoyofCodeDev
@JoyofCodeDev Рік тому
Yeah, they listened! 😄
@nicejames3168
@nicejames3168 Рік тому
Thank you for your clips, it helps me to learn sveltekit a lot.
@JoyofCodeDev
@JoyofCodeDev Рік тому
You're welcome! 😄
@tobias6361
@tobias6361 Рік тому
daisyUI and tailwind will make it for me i guess. tailwind for someone who hates CSS is nice but you still need to know CSS so you know what classes to pick, but i guess i'll get into it again. Thank you for making this video!
@JoyofCodeDev
@JoyofCodeDev Рік тому
You're welcome! 😄
@adrianmeca6951
@adrianmeca6951 Рік тому
PicoCSS is another alternative which goes pretty well with svelte's ideology
@kelvindecosta5350
@kelvindecosta5350 Рік тому
Thanks for this video! Sums up pretty much everything I hate about the UI libraries available right now. I agree with everything, and frankly I was a bit disappointed because I thought I’d find some new hidden gem in these libraries. They either port existing React libraries (HeadlessUI, Svelte UI), only work with classes (all Tailwind related libraries) or need some convoluted setup. The framework agnostic libraries aren’t that great too because they’re usually design in a React first approach which makes the actual Svelte library completely miss the point of Svelte. Zag, by Chakra UI, the last I checked, couldn’t even implement the Svelte solution because they’re using some generic templating to create the same codebase in Svelte that they have in React but they’re running into issues because they can’t do React stuff in Svelte and expect it to be added to Svelte later… Imagine if the Svelte community had something like Radix UI. It would be game changing. A completely render less UI library that can be easily styled with the Svelte CSS syntax. One can only dream. I think some part of this mess can be attributed to the fact that styling in Svelte is limited in that a component cannot be styled in its parent unless it exposes a class prop. It would be nice if we could specify the names of the component, like Button, Avatar, as we do for the various HTML tags, like button, img, in the style section of the component. Thanks again for the video. I’m glad that you’re putting such high quality content on Svelte!
@JoyofCodeDev
@JoyofCodeDev Рік тому
Yeah, it's a shame! Things should pick up once SvelteKit is released and people see opportunity.
@a67tejaskhandale99
@a67tejaskhandale99 11 місяців тому
Daisy UI is the best one by far, it just works and is well polished
@flogginga_dead_horse4022
@flogginga_dead_horse4022 Рік тому
Glad I started using and supporting Skeleton
@TheRishikesh99
@TheRishikesh99 Рік тому
I think its great that svelte material has individual installs for everything, assuming everything works standalone. I have worked with projects where to skip rebuilding a wheel we used some material component but then the entire ui had a partial material look :/
@JoyofCodeDev
@JoyofCodeDev Рік тому
You should be able to just import what you need! 😄
@jugibur2117
@jugibur2117 Рік тому
Wow, didn't think there were that many libs! There are some nice and promising ones. I find e.g. beercss quite respectable, there are also demos for e.g. YT, Uber, Netflix and Gmail. And I like their footer text: "Maded with love and beer…“ ☺ Thanks for sharing!
@gorandamchevski
@gorandamchevski Рік тому
For a noob like me, DaisyUI is great, since it's one of the rare things that I can understand... It also makes sense from a time saving perspective, as I only have a few hours on weekends to play with code.
@JoyofCodeDev
@JoyofCodeDev Рік тому
One of the things I hear is how easy it's to make components yourself with Svelte but I don't want to reinvent the wheel. 😆
@jonan2199
@jonan2199 Рік тому
Man great vid, you should make your own library since you have so many opinions xD
@JoyofCodeDev
@JoyofCodeDev Рік тому
I was thinking about it! 😂
@fabianmichael9457
@fabianmichael9457 11 місяців тому
I really enjoy Skeleton UI since it’s not too opinionated but opinionated enough too keep the UI consistent. Unfortunately it currently lacks a few components and A11y/Aria features. I also like Headless UI very much
@JoyofCodeDev
@JoyofCodeDev 11 місяців тому
I'm sure the Skeleton team would love to hear your feedback.
@heycaseywattsup
@heycaseywattsup Рік тому
new favorite channel! 🎉
@retzerR
@retzerR 8 місяців тому
I am working on my own because i have issues with others, another material design one, but it material design 3, so it will look exactly like google docs, calendar, etc. Basically flutter for svelte. I will be using this video and others and I will try to make it not have the issues of others
@jonahfoxy
@jonahfoxy Рік тому
great post - so hard to decide these things. which are your top 3 ?
@JoyofCodeDev
@JoyofCodeDev Рік тому
If you're using Tailwind you can't go wrong with daisyUI/Skeleton but for regular CSS it's hard to recommend anything but I'm enjoying picocss.com/.
@jonahfoxy
@jonahfoxy Рік тому
@@JoyofCodeDev just been trying out pico - seems v good indeedio
@lugas4270
@lugas4270 Рік тому
what browser and tab grouping you use?
@JoyofCodeDev
@JoyofCodeDev Рік тому
I use Brave! You can right click on a tab and select "Add tab to new group".
@ricardoreix
@ricardoreix Рік тому
Love your videos, keep up the good job 👍
@JoyofCodeDev
@JoyofCodeDev Рік тому
Thank you! 😄
@isrbillmeyer
@isrbillmeyer Рік тому
From the comments... think I am going to give Skeleton a go. It looks full featured and good focus on svelte.
@JoyofCodeDev
@JoyofCodeDev Рік тому
Great choice! 😄
@BaileySwartz
@BaileySwartz Рік тому
Do you have any thoughts about framework7 and konsta?
@JoyofCodeDev
@JoyofCodeDev Рік тому
I've heard about it but I never tried it.
@naranyala_dev
@naranyala_dev Рік тому
Anyone there using UIKit CSS with Svelte? and why?
@SoreBrain
@SoreBrain Рік тому
Great overview
@JoyofCodeDev
@JoyofCodeDev Рік тому
Thank you! 😄
@CURIOSITYcapital
@CURIOSITYcapital 4 місяці тому
Shadcn is now available for sveltekit also
@DoisKoh
@DoisKoh Рік тому
I need to see Shoelace
@AnnieTaylorChen
@AnnieTaylorChen Рік тому
I guess it will be the one I built myself, lol. But yeah I'd admit that I might not cover all those aria labels and such...
@JoyofCodeDev
@JoyofCodeDev Рік тому
Glad to see you! 😄
@isrbillmeyer
@isrbillmeyer Рік тому
Carbon irritated me. Was very excited by it, but after a bit of use, lagging, things loading late etc. Which is why I am checking this video. Looking for a good UI kit with Svelte.
@JoyofCodeDev
@JoyofCodeDev Рік тому
The state of Svelte UI libraries is rough unless you use Tailwind.
@garrusarchangel4562
@garrusarchangel4562 Рік тому
I implemented my last tauri project using sveltekit and Skeleton library in a front-end. I can say it's perfect! Actually I'm not a web developer at all, and I have neither time nor desire to dive into some React under-the-hood crap and study how it works. Sorry, reactmen, but react is a piece of shit, speaking frankly. Well, whatever, it was so easy to make my front-end part of the app! I just chose the theme that was ok for me and built my UI in a few weeks. It just works! I was focused on the backend business logic mostly. I will definitely use Sveltekit and Skeleton in my next project
@JoyofCodeDev
@JoyofCodeDev Рік тому
That's awesome! 😄
@nested9301
@nested9301 10 місяців тому
i wish we can have a libray that take full advantageof svelte actions and eventDispatcher
@JoyofCodeDev
@JoyofCodeDev 9 місяців тому
Have a look at Grail UI and Melt UI.
@xx__xx7199
@xx__xx7199 Рік тому
Nice
@twd2
@twd2 Рік тому
daisyUI😍😍😍
@twd2
@twd2 Рік тому
also,swiper slider if anyone interested 👌
@JoyofCodeDev
@JoyofCodeDev Рік тому
That gives me flashbacks! 😄
@Edditoria
@Edditoria Рік тому
Understand that you don't like Material Design libraries. What design language(s), type of design and/or library do you like?
@JoyofCodeDev
@JoyofCodeDev Рік тому
I'm not sure I like anything! 😂 There's a lot of design issues I have with most of UI libraries and it's often contrast issues but as long as it's clean and minimal I can get behind it. That's why something like Tailwind UI stands out because it shows you what professional design can do - If you read Refactoring UI you're going to understand the thought process and design considerations that went into making Tailwind.
@zBrain0
@zBrain0 Рік тому
I really don't understand why tailwind is so popular to be honest. All it does is move all of your CSS into your markup and force you to do way more typing. I have seen tailwind projects where every div had six or seven classes on it. God forbid if you ever decide to change something
@JoyofCodeDev
@JoyofCodeDev Рік тому
I can relate because I love writing Tailwind but dread editing it. 😂
@dallenbaldwin3484
@dallenbaldwin3484 Рік тому
I used Bootstrap with a CSR svelte project and honestly... It was really easy. I mean it looked like a bootstrap project but it was easy
@JoyofCodeDev
@JoyofCodeDev Рік тому
That's what's important! 💪
@Rundik
@Rundik 5 місяців тому
If you're using a transpiler anyway, why don't use a better language than css? I use scss for class nesting alone, never mind other awesome staff there
@JoyofCodeDev
@JoyofCodeDev 5 місяців тому
I used CSS nesting with PostCSS before every browser implemented it which is why I don't use SCSS.
@BigFattyNat
@BigFattyNat Рік тому
blazor is miles ahead with stuff like mudblazor. just check out the Input field of mudblazor, way more built in options, including autocomplete right out of the box!
@blessdarah1256
@blessdarah1256 10 місяців тому
I finally found someone who actually hates material design and UI like me
@O1O1OO1
@O1O1OO1 Рік тому
Why so much Material hate? Really liked the overview, but the Material criticism was too subjective for my taste. In my view it's a mature design system which easily can be styled to your personal taste using CSS and CSS variables ;-)
@JoyofCodeDev
@JoyofCodeDev Рік тому
Everything here is subjective because it's based on my opinion - I'm not saying what you should use but show you the options and leave the decision up to you.
@dalu_
@dalu_ Рік тому
idk I just hate tailwind. You have to learn a "meta language" in order to do css. It's so stupid. Then you have bazzilion css classes to do what you could do with a few lines of css/scss. But everyone is praising it like the next bootstrap. No, even bootstrap is better than tailwind. At least it does what it says it does and doesn't require a bazzilion classes to express the most basic things. I've been hopping from Angular/Material to Vue/Quasar now playing with Svelte. And the ecosystem is barren. It feels like Go ca. 2013. Promising, but you have to write everything yourself from scratch. Or Rust now
@JoyofCodeDev
@JoyofCodeDev Рік тому
I'm one of those weird people that like Tailwind but love CSS. I wish you had more choice when it comes to good UI libraries for Svelte regardless what you prefer to use. It's going to take some time as more people embrace Svelte and discover how to do things the Svelte way instead of trying to force patterns from other frameworks.
@dalu_
@dalu_ Рік тому
@@JoyofCodeDev You assume too much. I don't force patterns from other frameworks. What I wrote is that the svelte ecosystem is barren. kit v1 was release a very short time ago. Why is it that every time someone criticizes it's always the person criticizing's fault. Same in Angular discord. Dare you criticize Angular, you'd immediately be stamped as a fool, idiot, loser, dumbass etc. Of course you don't know how do properly use rxjs because that's a science. If I've worked with it for 2 years and still don't know how to use it, then I'm in the wrong business. But if they claim I don't know how to use it, despite me repeatedly saying that I do and all I was saying was that Vue is more productive then that's on them for not being able to see beyond their dish's edge. The same seems to be happening here. All your little bubbles.
@ZakariaBoualaid
@ZakariaBoualaid 8 місяців тому
Can you give one example on what you could do with plain css in few lines but requires gazillion of css classes in Tailwind? I am curious.
@jingle1161
@jingle1161 8 місяців тому
​@@ZakariaBoualaidIt's basically the other way around. 🙂
@AndreTMaciel
@AndreTMaciel 10 місяців тому
“ok i’m gonna stop hates material design” hahhaahahahaaha man… this video talks a lot to me… I’m 4 real struggling REACT vs SVELTE… and this videos brings me more QUESTIONS… anyway.. this shouldn’t care… let’s see what i’m gonna find and realize after…
@hipertracker8349
@hipertracker8349 Рік тому
There is no good UI library for Svelte. None of them even stand close to Vue UI frameworks like Quasar or Vuetify.
@Rundik
@Rundik 5 місяців тому
SvelteUI is a copycat of mantine, that's why it has so much react-style things in it
@simonsarris
@simonsarris Рік тому
glad you don't like Material 🤣
@JoyofCodeDev
@JoyofCodeDev Рік тому
I consider it a crime against imagination.
@greendsnow
@greendsnow Рік тому
Abandoned libraries... This is why I'm not using svelte.
@Nrde
@Nrde Рік тому
There's abandoned libraries only for Svelte?
@JoyofCodeDev
@JoyofCodeDev Рік тому
You have other options! 😄
@greendsnow
@greendsnow Рік тому
@@Nrde They don't abandon HeadlessUI in React...
@Nrde
@Nrde Рік тому
@@greendsnow Well there's also frameworks that haven't been abandoned for Svelte also. I get that you don't use Svelte, but the reason for it seems weird.
@greendsnow
@greendsnow Рік тому
@@Nrde I use TailwindUI and that includes HeadlessUI... HUI don't support Svelte, Svelte doesn't have a HUI maintainer. I'm not going to learn another UI library, only to discover that it's going to be abondoned a few months later... I don't have time to get frustrated with such things. (I tried Svelte and headlessui by rgaussiaux, and he ghosted it... I quited Svelte with it...) This is why, I don't trust Svelte or Sveltekit.
Can You Solve The Switch Problem In Svelte?
7:13
Joy of Code
Переглядів 13 тис.
Crafting Magical Spells Using Svelte's Powerful Reactivity
13:53
Joy of Code
Переглядів 3,1 тис.
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 2,9 млн
Svelte UI Libraries Have Leveled Up
12:14
Huntabyte
Переглядів 49 тис.
From React To HTMX
40:01
ThePrimeTime
Переглядів 286 тис.
sveltekit libraries you need to know
10:24
Nev the Dev
Переглядів 398
Svelte 5 Preview | Runes
12:40
ThePrimeTime
Переглядів 72 тис.
How To Not Suck At Design For Developers
14:23
Joy of Code
Переглядів 76 тис.
Forms Will Never Be the Same
10:10
Huntabyte
Переглядів 49 тис.
You might not need useEffect() ...
21:45
Academind
Переглядів 130 тис.