Skip to content

zhourengui/dugu-defeat

Repository files navigation

Dugu Defeat

An Custom UI design language and React UI library.

CI status NPM version

david deps david devDeps

Issues need help

✨ Features

  • 🌈 Custom UI designed for web applications.
  • 📦 A set of high-quality React components out of the box.
  • 🛡 Written in TypeScript with predictable static types.

🖥 Environment Support

  • Modern browsers and Internet Explorer 11 (with polyfills)
  • Server-side Rendering
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE11, Edge last 2 versions last 2 versions last 2 versions

📦 Install

npm install dugu-defeat
yarn add dugu-defeat

🔨 Usage

import { Button } from "dugu-defeat";

const App = () => (
  <>
    <Button type="primary">Concat Me</Button>
  </>
);

And import style manually:

import "dugu-defeat/dist/index.css";

TypeScript

antd is written in TypeScript with complete definitions, check Use in TypeScript to getting started.

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Or clone locally:

$ git clone https://github.com/zhourengui/dugu-defeat.git
$ cd dugu-defeat
$ yarn install
$ yarn storybook

Open your browser and visit http://127.0.0.1:6006 , see more at Development.