Giter Club home page Giter Club logo

Belleui

Published on webcomponents.org

Bellui是一个基于 Web Components 的 UI 组件库,您可以在HTML中,或者任何框架(如React, Vue, Angular)中使用。引入组件后,你可以随时随地的像使用原生html标签一样使用组件。

为什么选择 Belleui

  • 基于Web Components,能和其他框架结合使用,不用因为切换技术栈从而切换不用的UI框架。
  • 支持主流浏览器。
  • 提供丰富的UI组件。

相关资源:

组件

Components Issues Version
belle-avatar Issues npm version
belle-badge Issues npm version
belle-button Issues npm version
belle-card Issues npm version
belle-elements Issues npm version
belle-menu Issues npm version
belle-modal Issues npm version
belle-radio Issues npm version
belle-select Issues npm version
belle-spin Issues npm version
belle-switch Issues npm version
belle-tag Issues npm version

开始

在你的项目中使用 belleui,你可以安装整个组件库到项目中,或者安装单个组件:

# 安装整个组件
npm install @belleui/belle-elements

# 安装button组件
npm install @belleui/belle-button

使用 Yarn 安装:

yarn add @belleui/belle-elements

如何使用

Web Components 项目中使用:

import { LitElement, html } from 'lit-element'
import '@belleui/belle-elements'

class MyApp extends LitElement {
  render() {
    return html`
      <belle-button type="primary">Button</belle-button>
    `
  }
}

React 项目中使用:

Edit belleui-react-demo

开发

Gitpod ready-to-code

使用 yarn 作为你的包管理工具

git clone https://github.com/belleui/belleui.git
cd belleui
yarn

快速预览demo:

yarn storybook

开发:

# 编译 TS文件
yarn watch

# 预览demo
yarn storybook

参与贡献

贡献指南

Bellui's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.