{"id":20461395,"url":"https://github.com/antvis/component","last_synced_at":"2025-05-15T21:05:04.902Z","repository":{"id":33153694,"uuid":"145064862","full_name":"antvis/component","owner":"antvis","description":"🍱  AntV UI component based on G render engine.","archived":false,"fork":false,"pushed_at":"2025-05-07T12:53:53.000Z","size":14291,"stargazers_count":61,"open_issues_count":7,"forks_count":45,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-05-14T14:33:07.479Z","etag":null,"topics":["component","g","hacktoberfest","visualization"],"latest_commit_sha":null,"homepage":"https://github.com/antvis/component","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antvis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-08-17T03:01:20.000Z","updated_at":"2025-05-07T12:53:57.000Z","dependencies_parsed_at":"2024-04-30T18:03:16.714Z","dependency_job_id":"bc9abbd6-52d0-4514-872d-4738b7b2e341","html_url":"https://github.com/antvis/component","commit_stats":{"total_commits":757,"total_committers":47,"mean_commits":"16.106382978723403","dds":0.8335535006605019,"last_synced_commit":"04f0c21afd460bfae0dd7eed693fa25f7a9d9ac3"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2Fcomponent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2Fcomponent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2Fcomponent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antvis%2Fcomponent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antvis","download_url":"https://codeload.github.com/antvis/component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254422754,"owners_count":22068678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","g","hacktoberfest","visualization"],"created_at":"2024-11-15T12:25:12.348Z","updated_at":"2025-05-15T21:05:04.884Z","avatar_url":"https://github.com/antvis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\u003cb\u003e@antv/component\u003c/b\u003e\n\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nVisualization components for AntV, based on [G](https://github.com/antvis/g) which is a flexible rendering engine for visualization.\n\n[![build](https://github.com/antvis/component/actions/workflows/build.yml/badge.svg)](https://github.com/antvis/component/actions/workflows/build.yml)\n[![Coverage Status](https://coveralls.io/repos/github/antvis/component/badge.svg?branch=master)](https://coveralls.io/github/antvis/component?branch=master)\n[![npm Version](https://img.shields.io/npm/v/@antv/component.svg)](https://www.npmjs.com/package/@antv/component)\n[![npm Download](https://img.shields.io/npm/dm/@antv/component.svg)](https://www.npmjs.com/package/@antv/component)\n[![npm License](https://img.shields.io/npm/l/@antv/component.svg)](https://www.npmjs.com/package/@antv/component)\n\n\u003c/div\u003e\n\n\n## ✨ Features\n\n- **Rich** - Contains 20+ Visualization components, for AntV [G2](https://github.com/antvis/G2), [G6](https://github.com/antvis/G6), [L7](https://github.com/antvis/L7).\n- **Powerful** - Each component has powerful abilities and flexible scalability.\n- **Well Design** - Continuous optimization and iteration.\n- **Powerful Renderer** - Based on the powerful renderer [G](https://github.com/antvis/G), we can render the components using `Canvas`, `SVG` or `WebGL` with same code.\n\n\n## 📦 Installation\n\n```bash\n$ npm install @antv/component\n```\n\n```bash\n$ yarn add @antv/component\n```\n\n\n## 🔨 Getting Started\n\n```ts\nimport { Canvas } from '@antv/g';\nimport { Renderer } from '@antv/g-canvas';\nimport { Button } from '@antv/component';\n\n// 1. New a canvas.\nconst canvas = new Canvas({\n  container: 'container',\n  width: 600,\n  height: 600,\n  renderer: new Renderer(),\n});\n\n// 2. Create a button with configure.\nconst button = new Button({\n  /* ... */\n});\n\n// 3. Append into G canvas.\ncanvas.appendChild(button);\n\n// 4. Render.\ncanvas.render();\n```\n\n## 📎 Documents\n\n- [API](./docs/api.md)\n- UI components\n  - [Axis](./docs/components/axis.md)\n  - [Legend](./docs/components/legend.md)\n  - [Tooltip](./docs/components/tooltip.md)\n  - [Slider](./docs/components/slider.md)\n  - [Scrollbar](./docs/components/scrollbar.md)\n  - [Button](./docs/components/button.md)\n  - [Checkbox](./docs/components/checkbox.md)\n  - [Navigator](./docs/components/navigator.md)\n  - [Breadcrumb](./docs/components/breadcrumb.md)\n  - [Sparkline](./docs/components/sparkline.md)\n\n\n## 📮 Contribution\n\n```bash\n$ git clone git@github.com:antvis/component.git\n\n$ cd component\n\n$ npm install\n\n$ npm run dev\n```\n\nThen send a pull request on GitHub.\n\n## 📄 License\n\nMIT@[AntV](https://github.com/antvis).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantvis%2Fcomponent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantvis%2Fcomponent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantvis%2Fcomponent/lists"}