vital-ui-kit-react

Simple, Themeable, Customizable React UI library

Github星跟蹤圖

Intro

Vital UI Kit provide many UI components which are built for Vital Cloud Services Family. Vital UI Kit React encapsulated css style and components in order to achieve these goals:

  • Themeable, build with styled-components. ?
  • Compound style components allows hight flexibility.
  • Consistent development environment, by encapsulating internal UI style.
  • Easy to use, provide detailed API.

Demo

Speed

An example of Offical Document contains all Vital UI Kit components


View Demo

Bit

Getting Started

Installation

# Install peer denpendcy, we use styled-components

# yarn
yarn add @vital-ui/react styled-components

# npm
npm i --save @vital-ui/react styled-components

## or install individual packages
yarn add @vital-ui/react-avatar
// VitalProvider contains default theme and icon, you can override it.
import { ThemeProvier, Button } from '@vital-ui/react' // You can use `ThemeProvider` by styled-components, or @vital-ui/react-theme

// recommend importing the global reset style.
import { globalStyle } from '@vital-ui/react';
import { createGlobalStyle } from 'styled-components'


const GlobalStyle = createGlobalStyle`
  ${globalStyle.linkStyle};
  ${globalStyle.reset};
  ${globalStyle.vitalTypographyStyle};
  ${globalStyle.robotoFontFamily};
`;

/* ... */
render() {
  return (
    <ThemeProvider theme={YOUR_CUSTOM_THEME}>
      <GlobalStyle />
      <Button>Vital ? React!</Button>
    </ThemeProvider>
  )
}

Contributing

Make sure read our contributing guide to learn about our development process.

Roadmap

  • docs
  • Table(expand content)
  • Calendar

主要指標

概覽
名稱與所有者GSS-FED/vital-ui-kit-react
主編程語言TypeScript
編程語言JavaScript (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2018-03-22 10:16:03
推送於2025-07-02 08:44:45
最后一次提交2021-11-27 15:46:52
發布數83
最新版本名稱v0.10.6 (發布於 2020-03-20 00:24:14)
第一版名稱@gssfed/vital-ui-kit-native@0.1.1 (發布於 2018-04-25 17:40:24)
用户参与
星數69
關注者數9
派生數10
提交數0.9k
已啟用問題?
問題數42
打開的問題數8
拉請求數514
打開的拉請求數37
關閉的拉請求數153
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?