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.
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
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';
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.
To build and validate the library, run
npm run build
To deploy the package
npm publish
- shadcn/ui - the original shadcn library for React
- shadcn-svelte - shadcn/ui ported to Svelte by Huntabyte
- Svelte - the framework used to build this library
- svelte-headless-table - the library used to build the custom table component
- lucide-svelte - the icons used in the custom components
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.
You are welcome to contribute to the project. Please open an issue or a pull request if you have any suggestions or improvements.
See the LICENSE file.