@antv/component
The component module for antv
Last updated 5 years ago by zqlu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @antv/component 
SYNC missed versions from official npm registry.

@antv/component

Visualization components for AntV, based on G which is a flexible rendering engine for visualization.

build Coverage Status npm Version npm Download npm License

✨ Features

  • Rich - Contains 20+ Visualization components, for AntV G2, G6, L7.
  • Powerful - Each component has powerful abilities and flexible scalability.
  • Well Design - Continuous optimization and iteration.
  • Powerful Renderer - Based on the powerful renderer G, we can render the components using Canvas, SVG or WebGL with same code.

📦 Installation

$ npm install @antv/component
$ yarn add @antv/component

🔨 Getting Started

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

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

// 2. Create a button with configure.
const button = new Button({
  /* ... */
});

// 3. Append into G canvas.
canvas.appendChild(button);

// 4. Render.
canvas.render();

📎 Documents

📮 Contribution

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

$ cd component

$ npm install

$ npm run dev

Then send a pull request on GitHub.

📄 License

MIT@AntV.

Current Tags

  • 2.1.1-alpha.3                                ...           alpha (22 days ago)
  • 1.0.1-beta.7                                ...           beta (8 months ago)
  • 2.1.1                                ...           latest (22 days ago)
  • 0.9.7                                ...           next (a year ago)
  • 0.5.0-beta.18                                ...           publish (5 years ago)
  • 0.8.32-beta.0                                ...           tooltip-patch (2 years ago)

183 Versions

  • 2.1.1                                ...           22 days ago
  • 2.1.1-alpha.3                                ...           22 days ago
  • 2.1.1-alpha.2                                ...           22 days ago
  • 2.1.1-alpha.1                                ...           23 days ago
  • 2.1.0 [deprecated]           ...           23 days ago
  • 2.0.4                                ...           3 months ago
  • 2.0.3                                ...           3 months ago
  • 2.0.2                                ...           3 months ago
  • 2.0.1                                ...           6 months ago
  • 1.0.3                                ...           8 months ago
  • 2.0.0                                ...           8 months ago
  • 1.0.1-beta.7                                ...           8 months ago
  • 1.0.1-beta.6                                ...           8 months ago
  • 1.0.2                                ...           8 months ago
  • 1.0.1-beta.5                                ...           8 months ago
  • 1.0.1-beta.4                                ...           8 months ago
  • 1.0.1                                ...           8 months ago
  • 1.0.1-beta.3                                ...           8 months ago
  • 1.0.1-beta.2                                ...           9 months ago
  • 1.0.1-beta.1                                ...           9 months ago
  • 1.0.1-beta.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 1.0.0-beta.2                                ...           a year ago
  • 1.0.0-beta.1                                ...           a year ago
  • 0.8.35                                ...           a year ago
  • 0.9.7                                ...           a year ago
  • 0.9.6                                ...           a year ago
  • 0.8.34                                ...           2 years ago
  • 0.9.5                                ...           2 years ago
  • 0.8.33                                ...           2 years ago
  • 0.9.4                                ...           2 years ago
  • 0.9.3                                ...           2 years ago
  • 0.9.2                                ...           2 years ago
  • 0.9.1                                ...           2 years ago
  • 0.8.32-beta.0                                ...           2 years ago
  • 0.8.32 [deprecated]           ...           2 years ago
  • 0.8.31 [deprecated]           ...           2 years ago
  • 0.8.30 [deprecated]           ...           2 years ago
  • 0.8.29 [deprecated]           ...           2 years ago
  • 0.8.28                                ...           2 years ago
  • 0.8.27                                ...           3 years ago
  • 0.8.26                                ...           3 years ago
  • 0.8.25                                ...           3 years ago
  • 0.8.24                                ...           3 years ago
  • 0.8.23                                ...           3 years ago
  • 0.8.22                                ...           3 years ago
  • 0.8.21                                ...           3 years ago
  • 0.8.20                                ...           3 years ago
  • 0.3.10                                ...           3 years ago
  • 0.8.19                                ...           3 years ago
  • 0.8.18                                ...           3 years ago
  • 0.8.17                                ...           3 years ago
  • 0.8.16                                ...           3 years ago
  • 0.8.15                                ...           3 years ago
  • 0.8.14                                ...           3 years ago
  • 0.8.13                                ...           3 years ago
  • 0.8.12                                ...           3 years ago
  • 0.8.11                                ...           4 years ago
  • 0.8.10                                ...           4 years ago
  • 0.8.9                                ...           4 years ago
  • 0.8.8                                ...           4 years ago
  • 0.8.7                                ...           4 years ago
  • 0.8.6                                ...           4 years ago
  • 0.8.5                                ...           4 years ago
  • 0.8.4                                ...           4 years ago
  • 0.8.3                                ...           4 years ago
  • 0.8.2                                ...           4 years ago
  • 0.8.1                                ...           4 years ago
  • 0.8.0                                ...           4 years ago
  • 0.7.9                                ...           4 years ago
  • 0.7.8 [deprecated]           ...           4 years ago
  • 0.7.6 [deprecated]           ...           4 years ago
  • 0.7.5                                ...           4 years ago
  • 0.7.4                                ...           4 years ago
  • 0.7.3                                ...           4 years ago
  • 0.7.2                                ...           4 years ago
  • 0.7.2-beta.7                                ...           4 years ago
  • 0.7.2-beta.6                                ...           4 years ago
  • 0.7.2-beta.5                                ...           4 years ago
  • 0.7.2-beta.4                                ...           4 years ago
  • 0.7.2-beta.3                                ...           4 years ago
  • 0.7.2-beta.2                                ...           4 years ago
  • 0.7.2-beta.1                                ...           4 years ago
  • 0.7.2-beta.0                                ...           4 years ago
  • 0.7.1                                ...           4 years ago
  • 0.7.0                                ...           4 years ago
  • 0.6.4-beta.1                                ...           4 years ago
  • 0.6.3                                ...           4 years ago
  • 0.6.2                                ...           4 years ago
  • 0.6.2-beta.2                                ...           4 years ago
  • 0.6.2-beta.1                                ...           4 years ago
  • 0.7.0-bata.1                                ...           4 years ago
  • 0.7.0-bata.0                                ...           4 years ago
  • 0.6.1                                ...           5 years ago
  • 0.6.0                                ...           5 years ago
  • 0.5.7                                ...           5 years ago
  • 0.5.6                                ...           5 years ago
  • 0.5.5                                ...           5 years ago
  • 0.3.9                                ...           5 years ago
  • 0.3.9-beta.1                                ...           5 years ago
  • 0.5.3                                ...           5 years ago
  • 0.5.3-beta.2                                ...           5 years ago
  • 0.5.3-beta.1                                ...           5 years ago
  • 0.5.2                                ...           5 years ago
  • 0.5.1                                ...           5 years ago
  • 0.5.1-beta.1                                ...           5 years ago
  • 0.4.0-beta.14                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.5.0-beta.32                                ...           5 years ago
  • 0.5.0-beta.31                                ...           5 years ago
  • 0.5.0-beta.30                                ...           5 years ago
  • 0.5.0-beta.29                                ...           5 years ago
  • 0.5.0-beta.28                                ...           5 years ago
  • 0.5.0-beta.27                                ...           5 years ago
  • 0.4.0-beta.13                                ...           5 years ago
  • 0.5.0-beta.26                                ...           5 years ago
  • 0.5.0-beta.25                                ...           5 years ago
  • 0.4.0-beta.12                                ...           5 years ago
  • 0.4.0-beta.11                                ...           5 years ago
  • 0.5.0-beta.24                                ...           5 years ago
  • 0.5.0-beta.23                                ...           5 years ago
  • 0.5.0-beta.22                                ...           5 years ago
  • 0.5.0-beta.21                                ...           5 years ago
  • 0.5.0-beta.20                                ...           5 years ago
  • 0.5.0-beta.19                                ...           5 years ago
  • 0.5.0-beta.18                                ...           5 years ago
  • 0.5.0-beta.17                                ...           5 years ago
  • 0.5.0-beta.16                                ...           5 years ago
  • 0.5.0-beta.15                                ...           5 years ago
  • 0.5.0-beta.14                                ...           5 years ago
  • 0.4.0-beta.9                                ...           5 years ago
  • 0.4.0-beta.8                                ...           5 years ago
  • 0.5.0-beta.13                                ...           5 years ago
  • 0.4.0-beta.7                                ...           5 years ago
  • 0.5.0-beta.12                                ...           5 years ago
  • 0.4.0-beta.6                                ...           5 years ago
  • 0.5.0-beta.11                                ...           5 years ago
  • 0.5.0-beta.10                                ...           5 years ago
  • 0.5.0-beta.8                                ...           5 years ago
  • 0.5.0-beta.7                                ...           5 years ago
  • 0.5.0-beta.6                                ...           5 years ago
  • 0.4.0-beta.5                                ...           5 years ago
  • 0.4.0-beta.4                                ...           5 years ago
  • 0.5.0-beta.3                                ...           5 years ago
  • 0.5.0-beta.2                                ...           5 years ago
  • 0.5.0-beta.1                                ...           5 years ago
  • 0.4.0-beta.3                                ...           5 years ago
  • 0.3.8                                ...           5 years ago
  • 0.4.0-beta.2                                ...           5 years ago
  • 0.3.7                                ...           5 years ago
  • 0.3.7-beta.2                                ...           5 years ago
  • 0.3.7-beta.1                                ...           5 years ago
  • 0.3.5                                ...           5 years ago
  • 0.4.0-beta.1                                ...           5 years ago
  • 0.3.4                                ...           5 years ago
  • 0.3.4-beta.1                                ...           5 years ago
  • 0.3.3                                ...           5 years ago
  • 0.3.2                                ...           6 years ago
  • 0.3.1                                ...           6 years ago
  • 0.3.0                                ...           6 years ago
  • 0.2.7                                ...           6 years ago
  • 0.2.6                                ...           6 years ago
  • 0.2.5                                ...           6 years ago
  • 0.2.4                                ...           6 years ago
  • 0.2.3                                ...           6 years ago
  • 0.2.2                                ...           6 years ago
  • 0.2.1                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.9                                ...           6 years ago
  • 0.0.8                                ...           6 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE