@papanasi/vue
The Universal UI Library
🔍 Overview
🥯Papanasi (pronunced pɑpənæʃ or papanash) is a UI library to use cross Frameworks. A set of components to use in Angular, Preact, Qwik, React, Solid, Svelte, Vue and Web Components. Is based on the Mitosis library and documented using Storybook.
🚀 Platforms
|
Angular |
Preact |
Qwik |
React |
|
Solid |
Svelte |
Vue |
Web Comps. |
🔮 Demos
|
Nextjs |
Nuxt 3 |
Svelte Kit |
Solid Start |
Qwik City |
📣 Manifesto
This library born as a pet project to create universal components, easy to extend in any project and easy to use with any framework, is based on the next principles:
A Component...
- ...should be cross-libraries but the code should be written once.
- ...should have a minimum style but easy to extend it via CSS by any dev.
- ...should provide some optional themes to make it easy to use.
- ...should be accessible (FUTURE RELEASES).
- ...should be made for developers not for non-coders, they will decide how to style most of the things.
- ...should be tree-shakable.
- ...should be compatible with StoryBook.
- ...should be inspired by other UI Libraries and don't reinvent the wheel.
- ...should be easy to create new variants.
🧩 Elements Showcase
Layout |
|||
|
Container |
Row |
Column |
Grid |
Components |
|||
|
Avatar |
Button |
Code |
Pill |
|
Spinner |
|||
Enterprise |
|||
|
Itchio |
|||
Extensions |
|||
|
Tooltip |
|||
📚 Setup and scripts
With npm:
$ npm install @papanasi/vue
With yarn:
$ yarn add @papanasi/vue
🪲 Debugger
To debug elements you can use setDebugLevel function from `@papanasi/vue
window.addEventListener('load', () => {
setDebugLevel(DebugLevel.Log);
});
📗 Documentation
To learn more about Papanasi, check the documentation.
📃 License
🚀 Contributing
To build the project run:
> yarn compile
You can choose which frameworks to build by passing the --platforms:
> yarn compile --platforms react vue
It is also possible to specify which components to build --elements:
> yarn compile --elements avatar pill
If you want to disable the linting use --no-lint:
> yarn compile --no-lint
To contribute and watch the changes in local environment just use:
> yarn dev
Finally, to launch storybook use:
> yarn start
Our Sponsors
Sponsor the project |
![]() HelpDev |
Thanks to everyone who contributed:
And special thanks to @samijaber @mhevery and Builder project
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.1.2 | ^3.x | MIT | |
| 1.1.0 | ^3.x | MIT | |
| 1.0.2 | ^3.x | MIT | |
| 1.0.1 | ^3.x | MIT | |
| 1.0.0 | ^3.x | MIT | |
| 0.2.3 | ^3.x | ||
| 0.2.2 | ^3.x | ||
| 0.1.25 | ^3.x | ||
| 0.1.24 | ^3.x | ||
| 0.1.23 | ^3.x | ||
| 0.1.22 | ^3.x | ||
| 0.1.21 | ^3.x | ||
| 0.1.20 | ^3.0.0 | ||
| 0.1.19 | ^3.0.0 | ||
| 0.1.18 | ^3.0.0 | ||
| 0.1.17 | ^3.0.0 | ||
| 0.1.16 | ^3.0.0 | ||
| 0.1.15 | ^3.0.0 | ||
| 0.1.14 | ^3.0.0 | ||
| 0.1.13 | ^3.0.0 | ||
| 0.1.12 | ^3.0.0 | ||
| 0.1.11 | ^3.0.0 | ||
| 0.1.10 | ^3.0.0 | ||
| 0.1.9 | ^3.0.0 | ||
| 0.1.8 | ^3.0.0 | ||
| 0.1.7 | ^3.0.0 | ||
| 0.1.6 | ^3.0.0 | ||
| 0.1.5 | ^3.0.0 | ||
| 0.1.4 | ^3.0.0 | ||
| 0.1.3 | ^3.0.0 |
Showing the latest 30 of 50. See every release on npm
Pre-releases (207)
| Version | Released | Vue | License |
|---|---|---|---|
| 1.1.0-alpha.19 | ^3.x | MIT | |
| 1.1.0-alpha.18 | ^3.x | MIT | |
| 1.1.0-alpha.17 | ^3.x | MIT | |
| 1.1.0-alpha.16 | ^3.x | MIT | |
| 1.1.0-alpha.15 | ^3.x | MIT | |
| 1.1.0-alpha.14 | ^3.x | MIT | |
| 1.1.0-alpha.13 | ^3.x | MIT | |
| 1.1.0-alpha.12 | ^3.x | MIT | |
| 1.1.0-alpha.11 | ^3.x | MIT | |
| 1.1.0-alpha.10 | ^3.x | MIT | |
| 1.1.0-alpha.9 | ^3.x | MIT | |
| 1.1.0-alpha.7 | ^3.x | MIT | |
| 1.1.0-alpha.6 | ^3.x | MIT | |
| 1.1.0-alpha.5 | ^3.x | MIT | |
| 1.1.0-alpha.4 | ^3.x | MIT | |
| 1.1.0-alpha.3 | ^3.x | MIT | |
| 1.1.0-alpha.1 | ^3.x | MIT | |
| 1.1.0-alpha.0 | ^3.x | MIT | |
| 1.0.0-rc.126 | ^3.x | MIT | |
| 1.0.0-rc.125 | ^3.x | MIT | |
| 1.0.0-rc.124 | ^3.x | MIT | |
| 1.0.0-rc.123 | ^3.x | MIT | |
| 1.0.0-rc.122 | ^3.x | MIT | |
| 1.0.0-rc.121 | ^3.x | MIT | |
| 1.0.0-rc.120 | ^3.x | MIT | |
| 1.0.0-rc.118 | ^3.x | MIT | |
| 1.0.0-rc.117 | ^3.x | MIT | |
| 1.0.0-rc.116 | ^3.x | MIT | |
| 1.0.0-rc.115 | ^3.x | MIT | |
| 1.0.0-rc.114 | ^3.x | MIT |
Showing the latest 30 of 207. See every release on npm
