Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/radix-svelte/radix-svelte
A port of Radix UI for Svelte
https://github.com/radix-svelte/radix-svelte
radix radix-ui svelte sveltejs typescript ui
Last synced: about 1 month ago
JSON representation
A port of Radix UI for Svelte
- Host: GitHub
- URL: https://github.com/radix-svelte/radix-svelte
- Owner: radix-svelte
- License: mit
- Archived: true
- Created: 2023-03-28T22:38:33.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2023-07-24T22:43:35.000Z (over 1 year ago)
- Last Synced: 2024-09-18T14:54:45.434Z (about 2 months ago)
- Topics: radix, radix-ui, svelte, sveltejs, typescript, ui
- Language: Svelte
- Homepage: https://www.radix-svelte.com/
- Size: 2.6 MB
- Stars: 473
- Watchers: 9
- Forks: 28
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-svelte - Radix Svelte - An unofficial community-led Svelte port of Radix UI Primitives (UI Libraries / Mobile)
README
Radix Svelte
> ### ⚠ I have currently paused active development on my end. Read the [announcement](./ANNOUNCEMENT.md) for more information.
[Radix Svelte](https://www.radix-svelte.com/) is an unofficial community-led [Svelte](https://svelte.dev) port of [Radix UI Primitives](https://www.radix-ui.com/), a set of unstyled, accessible components for building high‑quality design systems and web apps.
[![](https://img.shields.io/npm/v/radix-svelte?style=flat-square)](https://www.npmjs.com/package/radix-svelte)
[![](https://img.shields.io/github/actions/workflow/status/TGlide/radix-svelte/ci.yaml?style=flat-square)](https://github.com/TGlide/radix-svelte/actions/workflows/ci.yaml)
![](https://img.shields.io/github/license/TGlide/radix-svelte?style=flat-square)
[![](https://dcbadge.vercel.app/api/server/gQrpPs34xH?style=flat-square)](https://discord.gg/gQrpPs34xH)> **Note**
**We are not affiliated with or endorsed by Radix UI/WorkOS.**
This is a volunteer driven project born out of the need for a similar component library for the Svelte ecosystem.## About
Radix Svelte is meant to be used as a base for your own styles and components. It offers:
- Tree-shakeable components with individual parts that can be styled separately
- Typescript and [SvelteKit](https://kit.svelte.dev/) support out-of-the-box
- Strict adherence to [WAI-ARIA guidelines](https://www.w3.org/WAI/ARIA/apg/)
- Easy to use examples and documentation
- A high emphasis on accessibility, extensibility, quality and consistencyWhile Radix Svelte is not a 1:1 reimplementation of [Radix UI Primitives](https://www.radix-ui.com/), we follow the same principles, patterns, and goals outlined by them on their site. Any changes that may be introduced as a part of porting it to Svelte will be documented and mentioned accordingly.
## Getting started
Install the `radix-svelte` package with your package manager of choice:
```sh
npm install radix-svelte
yarn add radix-svelte
pnpm add radix-svelte
bun add radix-svelte
```Import the components to your code and start using them:
```html
import { Toggle } from 'radix-svelte';
let pressed = false;{pressed ? 'Pressed' : 'Not pressed'}
```## Contributing
**Contributions are welcome and encouraged!**
Radix Svelte is under active development, and currently planned features and bugs are in the [issues tab](https://github.com/TGlide/radix-svelte/issues).
We work on this project on a volunteer basis in our free time. If you notice something that hasn't been implemented yet or could be improved, do consider contributing to the project. The goal is to enhance the experience of building with Svelte and improve the ecosystem for everyone.
Check out our [Contributing guide](./CONTRIBUTING.md) to learn more.
## Community
Got any questions? Want to talk to the maintainers?
Our [Discord community](https://discord.gg/gQrpPs34xH) is a great place to get in touch with us, and we'd love to have you there.
## Roadmap
| Component name | Status |
| --------------- | ------ |
| Accordion | ✅ |
| Alert Dialog | ✅ |
| Aspect Ratio | ✅ |
| Avatar | ✅ |
| Checkbox | ✅ |
| Collapsible | ✅ |
| Context Menu | |
| Dialog | ✅ |
| Dropdown Menu | |
| Form | |
| Hover Card | ✅ |
| Label | ✅ |
| Menubar | |
| Navigation Menu | |
| Popover | |
| Progress | ✅ |
| Radio Group | ✅ |
| Scroll Area | |
| Select | 🔨 |
| Separator | ✅ |
| Slider | ✅ |
| Switch | ✅ |
| Tabs | ✅ |
| Toast | |
| Toggle | ✅ |
| Toggle Group | ✅ |
| Toolbar | |
| Tooltip | ✅ |## Similar projects
Looking for more? Check out these other projects too:
- [Melt UI](https://www.melt-ui.com/)
- [shadcn-svelte](https://www.shadcn-svelte.com/)
- [Skeleton](https://skeleton.dev/)
- [Svelte Headless UI](https://svelte-headlessui.goss.io/docs)
- [Flowbite Svelte](https://flowbite-svelte.com/)
- [Carbon Components Svelte](https://github.com/carbon-design-system/carbon-components-svelte/)
- [Svelte Material UI](https://sveltematerialui.com/)
- [SvelteStrap](https://github.com/bestguy/sveltestrap)
- [Noir UI](https://github.com/khairulhaaziq/noir-ui)
- [Grail UI](https://grail-ui.vercel.app/)This list is not exhaustive or sorted in any particular order. If you know of any other similar projects for Svelte, feel free to open a PR to add them here.
These projects are not affiliated with Radix Svelte in any way.