MIT License

项目介绍

CKGrafico/papanasi 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 600 个 Star、29 次 Fork。

仓库全名
CKGrafico/papanasi
开源许可证
MIT License
Star 数
600
Fork 数
29
未关闭 Issue
10

README 摘要

Sorry I've no time right now consider this a little bit outdated/archived. 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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

papanasi 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 600 个 Star。

papanasi 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 papanasi 的源码?

可以直接克隆仓库:git clone https://github.com/CKGrafico/papanasi.git,默认分支为 main;安装与运行步骤见仓库 README。

papanasi 最近还在维护吗?

仓库最近一次更新为 3月7日,当前有 10 个未关闭 Issue;Star 数为 600,可作为社区活跃度的参考。

关于

🥯Papanasi is the Frontend UI library to use cross Frameworks. A set of components to use in Angular, Preact, Qwik, React, Solid, Svelte, Vue and Web Components

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
663
价值分
368
活跃状态
活跃

语言占比

CSS
JavaScript
MDX
TypeScript

Release

README

Sorry I’ve no time right now consider this a little bit outdated/archived.

Papanasi

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.

Package version GitHub stars Tweet Sponsor

🚀 Platforms


Angular
Angular Sandbox Angular downloads

Preact
Preact Sandbox Preact downloads

Qwik
Qwik Sandbox Qwik downloads

React
React Sandbox React downloads

Solid
Solid Sandbox Solid downloads

Svelte
Svelte Sandbox Svelte downloads

Vue
Vue Sandbox Vue downloads

Web Comps.
Webcomponents Sandbox Web Components downloads

🔮 Demos


Nextjs
Nextjs Demo

Nuxt 3
Nuxt Demo

Svelte Kit
Svelte Kit Demo

Solid Start
Solid Start Demo

Qwik City
Qwik Demo

📣 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
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview

Row
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview

Column
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview

Grid
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview
Components

Avatar
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview

Button
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview

Code
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview

Pill
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview

Spinner
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview
Enterprise

Itchio
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview
Extensions

Tooltip
Angular status Preact status Qwik status React status
Solid status Svelte status Vue status W3c status
Preview

📚 Setup and scripts

With npm:

$ npm install @papanasi/[target] # ex: @papanasi/react

With yarn:

$ yarn add @papanasi/[target] # ex: @papanasi/vue

🪲 Debugger

To debug elements you can use setDebugLevel function from @papanasi/[target] package. This function is totally optional and the default value is DebugLevel.None the recommended is to use DebugLevel.Log to have a log of the different events happening.

window.addEventListener('load', () => {
  setDebugLevel(DebugLevel.Log);
});

📗 Documentation

To learn more about Papanasi, check the documentation.

📃 License

MIT

🚀 Contributing

Contributing Guidelines

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:

Contributors

And special thanks to @samijaber @mhevery and Builder project

评论

暂无评论