Installation
Install Melt UI, a headless UI library for Svelte.
Automatic Installation
Melt UI provides a CLI to help you get started quickly. To use it, run the following command in your terminal.
It will automatically add @melt-ui/svelte
to your dependencies. You may optionally choose to
install our preprocessor as well.
Manual Installation
Install Melt UI with your package manager of choice.
P.S. These tabs were built using Melt! Try using them with the arrow keys.
Preprocessor Installation
Melt UI also provides a custom preprocessor that aims to enhance the DX of Melt UI. You can read more about it here .
Install our preprocessor, @melt-ui/pp .
Next, import both preprocessors and add them to your preprocess
array in svelte.config.js
.
On This Page