Skip to content

HevelMc/hevel-ui

Repository files navigation

Hevel-UI

A collection of custom Svelte UI components built on top of shadcn-svelte.

Used for projects I work on, in order to have a consistent design and to avoid rewriting the same components over and over.

Installation

Install hevel-ui in a project with npm

npm install hevel-ui

Or, to update the package

npm update hevel-ui

There is no default theme for now, so you must add a theme to your app.css.
You can find the theme generator of shadcn-svelte here

Usage/Examples

All shadcn and custom components are exported from the root, so they can be imported like this :

import { Button, DropdownMenu, LightSwitch, Sheet, AudioPlayer } from 'hevel-ui';

Documentation

There is no documentation for now, but you can refer to the shadcn-svelte documentation for the shadcn components.

A really basic example of the custom components can be found in the src/routes/+page.svelte file for testing purposes.

I intend to add more examples in the future.

Building & Publication

To build and validate the library, run

npm run build

To deploy the package

npm publish

Acknowledgements

Disclaimer

Please note that hevel-ui is primarily intended for projects I work on, and as such, support may not be readily available for other projects.

Feel free to use the library in your projects, but be aware that breaking changes may occur without notice.

Contributing

You are welcome to contribute to the project. Please open an issue or a pull request if you have any suggestions or improvements.

License

See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published