Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melt-ui/melt-ui
A set of headless, accessible component builders for Svelte.
https://github.com/melt-ui/melt-ui
component-library headless svelte typescript
Last synced: 5 days ago
JSON representation
A set of headless, accessible component builders for Svelte.
- Host: GitHub
- URL: https://github.com/melt-ui/melt-ui
- Owner: melt-ui
- License: mit
- Created: 2023-06-08T13:48:42.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-10-26T21:42:22.000Z (3 months ago)
- Last Synced: 2024-10-29T09:21:20.359Z (2 months ago)
- Topics: component-library, headless, svelte, typescript
- Language: TypeScript
- Homepage: https://melt-ui.com
- Size: 10.4 MB
- Stars: 3,453
- Watchers: 14
- Forks: 214
- Open Issues: 113
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-svelte - Melt UI - A collection of accessible, reusable, and composable headless component builders and utilities. (UI Libraries / Mobile)
README
![](static/banner.png)
[Melt UI](https://www.melt-ui.com/) is a set of headless, accessible component builders for Svelte.
[![](https://img.shields.io/npm/v/@melt-ui/svelte?style=flat)](https://www.npmjs.com/package/@melt-ui/svelte)
![npm](https://img.shields.io/npm/dw/%40melt-ui%2Fsvelte?style=flat&color=orange)[![](https://img.shields.io/github/actions/workflow/status/melt-ui/melt-ui/ci.yaml?style=flat)](https://github.com/melt-ui/melt-ui/actions/workflows/ci.yaml)
![](https://img.shields.io/github/license/melt-ui/melt-ui?style=flat)
[![](https://dcbadge.vercel.app/api/server/2QDjZkYunf?style=flat)](https://melt-ui.com/discord)## About
Melt UI is meant to be used as a base for your own styles and components. It offers:
- Uncoupled builders that can be attached to any element/component
- 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 consistency## Getting started
Run our installer script to get started:
```sh
npx @melt-ui/cli@latest init
```Import the builders to your code and start using them:
```html
import { createCollapsible, melt } from '@melt-ui/svelte'
const {
elements: { root, content, trigger },
states: { open }
} = createCollapsible()
{$open ? 'Close' : 'Open'}
Obi-Wan says: Hello there!
```## Contributing
**Contributions are welcome and encouraged!**
Melt UI is under active development. Currently planned features can be found in the
[issues tab](https://github.com/melt-ui/melt-ui/issues), alongside bug reports.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.
## Sponsors
## Community
Melt UI is an open-source project built by the community for the community. It wouldn't be possible
if it wasn't for the work of some amazing people.[![Contributors](https://contrib.rocks/image?repo=melt-ui/melt-ui)](<[https://github.com/codemaniac-sahil/news-webapp-api](https://github.com/melt-ui/melt-ui)https://github.com/melt-ui/melt-ui/graphs/contributors>)
### Discord
Got any questions? Want to talk to the maintainers?
Our [Discord community](https://melt-ui.com/discord) is a great place to get in touch with us, and
we'd love to have you there.
## Similar projects
Looking for more? Check out the
[other component library projects available for Svelte](https://sveltesociety.dev/components#design-systems).