Skip to content
This repository was archived by the owner on Oct 7, 2023. It is now read-only.
/ GUI Public archive

UI components for G. Merge to @antvis/component.

License

Notifications You must be signed in to change notification settings

antvis/GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e919168 · Oct 7, 2023
Oct 7, 2023
Oct 7, 2023
Aug 23, 2023
Aug 31, 2023
Sep 5, 2023
Mar 9, 2023
Sep 5, 2023
May 24, 2021
Jun 15, 2021
Aug 31, 2023
Oct 7, 2023
Aug 31, 2023
Feb 27, 2023
May 24, 2021
May 24, 2021
Oct 7, 2023
May 24, 2021
Apr 12, 2023
Aug 31, 2023
Jun 18, 2021
Oct 7, 2023
Nov 11, 2022
Dec 1, 2022
Nov 11, 2022

Repository files navigation

GUI

UI components for G.

Build Status Coverage Status npm Version npm Download npm License

✨ Features

📦 Installation

$ npm install @antv/gui

🔨 Getting Started

import { Canvas } from '@antv/g';
import { Renderer } from '@antv/g-canvas';
import { Button } from '@antv/gui';

// create a canvas
const canvas = new Canvas({
  container: 'container',
  width: 600,
  height: 600,
  renderer: new Renderer(),
});

// create a button
const button = new Button({
  /* ... */
});

canvas.appendChild(button);

// render it
canvas.render();

📎 Components

📮 Contribution

$ git clone git@github.com:antvis/gui.git

$ cd gui

$ npm install

$ npm run dev

Then send a pull request after coding.

📄 License

MIT@AntV.