Giter Site home page Giter Site logo

b-esmaili / melt-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from melt-ui/melt-ui

0.0 0.0 0.0 10.11 MB

A set of headless, accessible component builders for Svelte.

Home Page: https://melt-ui.com

License: MIT License

Shell 0.03% JavaScript 0.67% Python 0.04% TypeScript 61.87% CSS 1.21% HTML 3.20% Dockerfile 0.02% Svelte 32.96%

melt-ui's Introduction

Melt UI is a set of headless, accessible component builders for Svelte.

npm

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 support out-of-the-box
  • Strict adherence to WAI-ARIA guidelines
  • Easy to use examples and documentation
  • A high emphasis on accessibility, extensibility, quality and consistency

Getting started

Run our installer script to get started:

npx @melt-ui/cli@latest init

Import the builders to your code and start using them:

<script>
	import { createCollapsible, melt } from '@melt-ui/svelte'

	const {
		elements: { root, content, trigger },
		states: { open }
	} = createCollapsible()
</script>

<div use:melt="{$root}">
	<button use:melt="{$trigger}">{$open ? 'Close' : 'Open'}</button>
	<div use:melt="{$content}">Obi-Wan says: Hello there!</div>
</div>

Contributing

Contributions are welcome and encouraged!

Melt UI is under active development. Currently planned features can be found in the issues tab, 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 to learn more.

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

Community

Got any questions? Want to talk to the maintainers?

Our Discord community is a great place to get in touch with us, and we'd love to have you there.

Melt UI Discord community

Similar projects

Looking for more? Check out the other component library projects available for Svelte.

melt-ui's People

Contributors

tglide avatar huntabyte avatar github-actions[bot] avatar adriangonz97 avatar halfdanj avatar vpr99 avatar geerew avatar bennymi avatar rjt-rockx avatar ammarriq avatar msonnberger avatar paoloricciuti avatar kaevupoiss avatar davidwoolf avatar abdel-17 avatar towatiai avatar manuel-dasilva avatar benmccann avatar franckpoingt avatar mschuepbach avatar mcmxcdev avatar marcelgundermann avatar wesharper avatar ksmoore17 avatar xrsquared avatar kyuuaria avatar heetvekariya avatar anatolzak avatar jamesbirtles avatar nikiskaarup avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.