10+ UI Libraries for Svelte to Try in 2024
Tags: svelte, frontend, javascript, ui
Published: 2024-05-14 16:15:29

[Svelte](https://svelte.dev/) is an open source JavaScript framework which gains popularity among web developers due to its fast client performance (compared to React and Vue), lightweight nature and ease of learning. Svelte, together with SvelteKit,  makes web developers more productive allowing them to build projects faster, write code that is easier to understand and fix, and simply "_code with joy_".  

As Svelte community is growing slightly with each year, more and more UI libraries appear, which is also facilitated by the ease of converting Svelte code into ready-made components. If you're a seasoned Svelte developer, there probably won't be anything new for you in this article (although you never know). But if you're just starting or considering your journey with Svelte framework, take a look at this list of UI libraries. There might be one which will become your favorite.

##Skeleton 

![Skeleton Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bauh9rqj3bh05tebdgtr.png)

[Skeleton](https://www.skeleton.dev/) is one of the most popular UI libraries for Svelte. It is built on top of Svelte and uses Tailwind CSS for styling the components appearance. Skeleton integrates directly with Svelte ecosystem, including components, stores and actions. It provides an easy-to-use CLI option to quickly generate a Skeleton project. 

It comes with a number of visually appealing built-in skins and also a theme generator tool for easy theme creation. In general, all the components are very customizable and extendable. The toolkit is continuously developing and has an active community. The team is preparing [a major update](https://www.skeleton.dev/blog/skeleton-next) which will hopefully be available later this year.

[GitHub](https://github.com/skeletonlabs/skeleton): 4.6k :star:
License: MIT
<br>

## Flowbite Svelte

![Flowbite Svelte Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ls5cdulqcfubyci8qyf.png)

[Flowbite Svelte](https://flowbite-svelte.com/) is an open-source UI library built with Svelte components and Tailwind CSS. It provides over 58 UI components and interactive elements built with Svelte and [Flowbite](https://flowbite.com/). It comes with well-organized documentation, where you can see the code sample and preview the components for responsive sizes: desktop, tablet and smartphone. You can also switch light/dark modes and RTL/LTR text direction. The code looks quite straightforward and the components are styled very neat.  

[GitHub](https://github.com/themesberg/flowbite-svelte): 1.9k :star:
License: MIT

## Svelte Material UI

![Svelte Material Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b54shs19vilal65lscrh.png)

[Svelte Material UI](https://sveltematerialui.com/) is one of the oldest libraries for Svelte and it offers a decent collection of UI components with Google-inspired Material Design. This library also provides actions for a wide variety of interface elements and helper utilities for building custom and advanced UI components. The specialty of this library is that you need to install each component separately. Theming is done with Sass or with CSS variables.

[GitHub](https://github.com/hperrin/svelte-material-ui): 3.2k :star:
License: Apache 2.0
<br>

## Carbon Components

![Carbon Components Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ivknwyvh9n1brdxf5y08.png)

[Carbon Components](https://svelte.carbondesignsystem.com/) is a Svelte component library that is built on top of the [Carbon Design System](https://www.carbondesignsystem.com/), an open source design system by IBM. The components look very minimalistic (especially styling based on gray color saturation) but probably would fit in some business-looking app. In defense it must be said that the library offers a big number of Svelte components with advanced functionality.

[GitHub](https://github.com/carbon-design-system/carbon-components-svelte):  2.6k :star:
License: Apache 2.0
<br>

##SvelteUI

![SvelteUI Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tzi9k74ojbarkbvrop4g.png)

[SvelteUI](https://svelteui.dev/) includes 50+ customizable, accessible Svelte components. The components are built with TypeScript and support it by default. In addition to the components, the library includes out-of-the-box actions, transitions, and utilities. In general, it's a nice-looking library, heavily inspired by [Mantine](https://mantine.dev/), with good documentation. The latest major update was released in August 2023.

[GitHub](https://github.com/svelteuidev/svelteui): 1.2k :star:
License: MIT
<br>

##Attractions

![Attractions Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xcqpleoji82ym7v2lmtz.png)

[Attractions](https://illright.github.io/attractions/) is a UI kit for Svelte that includes 49 components and a collection of helper functions. It uses [Sass](https://sass-lang.com/) for styling. Although the Attractions kit seems promising and the components look really nice, it's not very actively supported right now and its future is uncertain. 

[GitHub](https://github.com/illright/attractions): 1k :star:
License: MIT
<br>

##STW UI

![STW UI Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bdky5dby5uc9o7l2x6zd.png)

[STW UI](https://stwui.vercel.app/) is another component library built with Svelte and Tailwind CSS. It provides more than 40 Svelte components, and also actions and utilities aimed to speed up the web development process. With well-crafted documentation and examples, it's definitely worth looking at. 

[GitHub](https://github.com/N00nDay/stwui): 427 :star:
License: MIT
<br>

##SVAR Svelte Core

![SVAR Core Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mwjq2m6m809pdho0xkhf.png)

[SVAR Core](https://svar.dev/svelte/core/) is a new player on the Svelte arena but it provides quite a good selection of mostly-used form controls and other UI elements that can be combined into a sleek-looking app interface. In addition to the free open-source Core library, SVAR offers feature-rich Svelte DataGrid, Gantt chart and File Manager components tailored for enterprise-grade apps.

[GitHub](https://github.com/svar-widgets/core): 5 :star:
License: MIT for Core, paid with free trial for DataGrid, Gantt, File Manager.
<br>

#Headless Svelte Libraries 

Headless libraries give you only the lower level API, providing the logic and accessibility principles while you stay in control of how the interface will look and feel. You can use your own styling to make the components look the way you need. 

##Melt UI 

![Melt UI Website Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fxj7c5fie6zgt0q713ft.png)

[Melt UI](https://melt-ui.com/) is the most powerful and complete headless library for Svelte. It offers a set of headless, accessible component builders, very customizable and flexible. Builders are just functions that generate a collection of properties that can be applied to any UI element.

The library is aimed at different scales of projects, from small hobby projects to more advanced web interfaces. It allows you to build your own components and style them with your custom CSS, CSS preprocessors, or CSS-in-JS libraries. Melt UI comes with detailed documentation that includes multiple demos (styled with Tailwind) and code samples. The library can be quickly installed using CLI command.

[GitHub](https://github.com/melt-ui/melt-ui): 2.9k :star:
License: MIT
<br>

##Bits UI 

[Bits UI](https://www.bits-ui.com/docs/introduction) is a collection of headless component primitives built on top of Melt UI. The headless components of Bits UI are completely customizable, accessible and come unstyled. To make the components look the way you need, you can use CSS classes, CSS framework (like TailwindCSS or UnoCSS), data attributes or global classes. The professionally-looking documentation includes preview demos showcasing simple code samples, along with comprehensive API references.

[GitHub](https://github.com/huntabyte/bits-ui): 822 :star:
License: MIT
<br>

##shadcn-svelte

[shadcn-svelte](https://www.shadcn-svelte.com/) is an unofficial Svelte port of [shadcn/ui](https://ui.shadcn.com/). It's a collection of reusable components that you can copy and paste or use the CLI to add to your Svelte apps. There is no package, no dependencies. You just choose the components you need and customize them to your needs. You can use shadcn-svelte as a reference to build your own component libraries.

![shadcn-svelte Demo Screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rudgktzrnpc9bhkbwhyu.png)

The component code consists of Bits UI components and default CSS Tailwind style, which you can change to your own preferences. There are also some predefined themes which you can customize in a neat theme builder. Design kit for Figma is available. 

[GitHub](https://github.com/huntabyte/shadcn-svelte): 4k :star:
License: MIT
<br>

##Svelte Headless UI

[Svelte Headless UI](https://svelte-headlessui.goss.io/docs/2.0) is an unofficial, complete Svelte port of the [Headless UI](https://headlessui.dev/) component library. It helps you to handle all logic details (keyboard and mouse interactions, accessibility, focus management, and more) while you have the freedom to style the components however you like. While this library seamlessly integrates with Tailwind CSS for styling, it's optional and the library itself is not Tailwind-specific.

[GitHub](https://github.com/rgossiaux/svelte-headlessui): 1.8k :star:
License: MIT
<br>

Exploring these Svelte UI libraries offers you an array of  solutions to streamline your Svelte projects. Whether opting for component libraries offering pre-designed UI elements or leveraging headless options for maximum flexibility, you can enjoy the simplicity and unbeatable performance of Svelte ecosystem. Explore, experiment, and discover the perfect fit for your next project! 

_Cover photo by <a href="https://unsplash.com/@flowforfrank?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Ferenc Almasi</a> on <a href="https://unsplash.com/photos/computer-screen-displaying-files-fhAfLtHToCs?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Unsplash</a>_