Skip to content

a selection of nice utils for svelte 5 (custom library + cli + motion wrapper) 🌼

License

Notifications You must be signed in to change notification settings

mielsense/sensel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

sensel

          |\      _,,,---,,_
    ZZZzz /,`.-'``'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  sensel

npm version npm version License Built with Svelte

A beautiful, accessible component/action library for Svelte 5, with a powerful CLI for seamless integration.

Svelte Logo TypeScript Logo

Note

Documentation available soon at: Not available yet

🌟 Features

  • 🎨 Beautiful, customizable components
  • β™Ώ Accessibility-first design
  • πŸš€ Svelte 5 ready
  • πŸ› οΈ Powerful CLI for component management
  • 🎯 Type-safe with TypeScript
  • 🎭 Style variants with tailwind-variants
  • 🎨 Tailwind CSS styling
  • 🍊 Animated icons imporation via cli
  • πŸ’œ Motion.dev wrapper

πŸ“¦ Installation

Option 1: Full Library Installation

npm install @sensel/ui
npm install @sensel/motion

Option 2: CLI + Individual Components

  1. Initialize a new project:
npx @sensel/cli init my-project
cd my-project
npm install
  1. Add components as needed:
npx @sensel/cli add button
npx @sensel/cli add card
npx @sensel/cli icon user
  1. Remove components/actions/icons when not needed:
npx @sensel/cli remove button
npx @sensel/cli remove pixelate
npx @sensel/cli remove user

🎨 Components

The component library is built on top of shadcn-svelte, extending it with additional features and customizations.

Available Components and Actions

Each component can be installed individually using the CLI:

sensel add <item-name>

🍊 Icons

The animated icons come from ji3sr/icons, all credits given to the original authors.

πŸ’œ Motion wrapper

This is a svelte wrapper around the motion library !

πŸ› οΈ CLI Commands

Command Description
npx @sensel/cli init <project-name> Initialize a new project using the template
npx @sensel/cli add <item-name> Add a component/action to your project
npx @sensel/cli icon <icon-name> Add an icon to your project
npx @sensel/cli remove <item-name/icon-name> Remove a component from your project

πŸ“ License

Licensed under the MIT License.

🀝 Contributing

Currently not open for contributions.

πŸ™ Acknowledgments

This project builds upon shadcn-svelte for its base components.
This project uses ji3sr/icons for all its animated icons.
This project provides a wrapper around the awsome motion library.


Made with πŸ–€ by miel

About

a selection of nice utils for svelte 5 (custom library + cli + motion wrapper) 🌼

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published