{"id":13560341,"url":"https://github.com/valcosmos/val-design","last_synced_at":"2025-04-12T06:13:22.220Z","repository":{"id":44400347,"uuid":"474237120","full_name":"valcosmos/val-design","owner":"valcosmos","description":"✨ A simple, lightweight UI component library for React.","archived":false,"fork":false,"pushed_at":"2024-07-24T16:00:12.000Z","size":94377,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T06:12:55.642Z","etag":null,"topics":["components","css","html","javascript","react","sass","storybook","typescript","ui","ui-components"],"latest_commit_sha":null,"homepage":"https://valcosmos.github.io/val-design","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/valcosmos.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}},"created_at":"2022-03-26T04:05:33.000Z","updated_at":"2024-07-24T16:00:16.000Z","dependencies_parsed_at":"2024-07-24T18:16:40.811Z","dependency_job_id":"00bd3277-89d6-49e8-b520-0bbb5455fbe6","html_url":"https://github.com/valcosmos/val-design","commit_stats":{"total_commits":227,"total_committers":2,"mean_commits":113.5,"dds":"0.11894273127753308","last_synced_commit":"21faf92c67a59b1a8c9e07179294dcc83ed5a0a5"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valcosmos%2Fval-design","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valcosmos%2Fval-design/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valcosmos%2Fval-design/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valcosmos%2Fval-design/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valcosmos","download_url":"https://codeload.github.com/valcosmos/val-design/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525138,"owners_count":21118619,"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":["components","css","html","javascript","react","sass","storybook","typescript","ui","ui-components"],"created_at":"2024-08-01T13:00:42.160Z","updated_at":"2025-04-12T06:13:22.198Z","avatar_url":"https://github.com/valcosmos.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg width=\"80px\" src=\"https://raw.githubusercontent.com/valcosmos/val-design/main/logo.png\" /\u003e\n\u003c/div\u003e\n\n\u003ch3 align=\"center\"\u003eWelcome to val-design\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003eval-design is a simple, lightweight \u003ca href=\"https://reactjs.org/\" target=\"_blank\"\u003eReact\u003c/a\u003e UI component library.\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  \u003cimg src=\"https://img.shields.io/badge/build-passing-informational?style=for-the-badge\u0026logo=GitHub\u0026color=181717\" /\u003e\n\n  \u003cimg src=\"https://img.shields.io/badge/Node.js-v16.16.0-informational?style=for-the-badge\u0026logo=Node.js\u0026color=339933\" /\u003e\n\n  \u003cimg src=\"https://img.shields.io/badge/React-v18.2.0-informational?style=for-the-badge\u0026logo=React\u0026color=61DAFB\" /\u003e\n\n  \u003cimg src=\"https://img.shields.io/badge/TypeScript-v4.7.4-informational?style=for-the-badge\u0026logo=TypeScript\u0026color=3178C6\" /\u003e\n\n  \u003cimg src=\"https://img.shields.io/badge/npm-v8.11.0-informational?style=for-the-badge\u0026logo=npm\u0026color=CB3837\" /\u003e\n\n  \u003cimg src=\"https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\" /\u003e\n\n\u003c/div\u003e\n\n## Description\n\nval-design is a simple component library, built with [React.js](https://reactjs.org/) and [TypeScript](https://www.typescriptlang.org/), mainly for learning, or you can optimize or encapsulate it for production use. If you have any issues, or better suggestions, welcome to put them in the [issues](https://github.com/valcosmos/val-design/issues) or [discussion](https://github.com/valcosmos/val-design/discussions), and I will be very grateful.\n\n## Features\n\n- ✨ A personal `React component library`, welcome to submit [issues](https://github.com/valcosmos/val-design/issues) or [ideas](https://github.com/valcosmos/val-design/discussions).\n- 🔭 Built with `Vite` `TypeScript` and `React Hooks`.\n- 😄 Use `storybook` for local debugging and auto-generate component library documentation.\n- 😉 Automatically generate documentation content from comments using `react-doc-gen`.\n- ⭐️ Some components are completed by Other component libraries, and `Icon` components are secondary encapsulated using `react-fontawesome`.\n- 🌔 Integrate CI/CD, use CircleCI + Github Page to deploy documents.\n- 🌱 Added support for `React v18`.\n\n\u003c!-- ## 简介\n\n- ✨ 一个个人制作的 `React 组件库`，欢迎各位提交 `issues`。\n- 🔭 使用 `Vite` `TypeScript` 和 `React Hook` 构建。\n- 🌱 使用`storybook`进行本地调试，并自动生成组件库文档。\n- 😉 使用`react-doc-gen`通过注释自动生成文档内容。\n- ⭐️ 部分组件库通过对第三方库进行二次封装完成，`Icon`组件使用`react-fontawesome`进行二次封装。\n- 🌔 集成 `CI/CD`, 使用 `CircleCI` + `Github Page`, 进行文档部署。\n- 🌱 新增对`React18`的支持。 --\u003e\n\n## Getting started\n\n- To check out the [guide](https://valcosmos.github.io/val-design), visit [https://valcosmos.github.io/val-design](https://valcosmos.github.io/val-design). 📚\n\n- To check out the [example](https://stackblitz.com/edit/vitejs-vite-jvn7fm), visit [https://stackblitz.com/edit/vitejs-vite-jvn7fm](https://stackblitz.com/edit/vitejs-vite-jvn7fm). 📚\n\n\u003c!-- Example:\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/vitejs-vite-jvn7fm) --\u003e\n\n## Install\n\n```bash\nnpm i val-design\n```\n\n```bash\nyarn add val-design\n```\n\n## Usage\n\nAnd import style manually：\n\n```jsx\nimport 'val-design/dist/index.css'\n```\n\nAnd import button：\n\n```jsx\nimport { Button } from 'val-design'\n\nfunction App() {\n  return (\n    \u003c\u003e\n      \u003cButton type=\"primary\" size=\"lg\"\u003e\n        val design\n      \u003c/Button\u003e\n    \u003c/\u003e\n  )\n}\n```\n\n## Project Activity\n\n![Alt](https://repobeats.axiom.co/api/embed/598e41bfc615ece01d4f2e4c881fe52c54e6d8a9.svg 'Repobeats analytics image')\n\n## Development\n\n\u003c!-- Use Gitpod\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://valcosmos-valdesign-jeyace35t07.ws-us47.gitpod.io/) --\u003e\n\nUse StackBlitz\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/valcosmos/val-design)\n\nclone locally:\n\n```bash\n\ngit clone git@github.com:valcosmos/val-design.git\n\ncd val-design\n\npnpm install --shamefully-hoist\n\npnpm storybook\n\n```\n\nOpen your browser and visit http://localhost:6006\n\n## Issues\n\nYou can write down any issues you have under this [link](https://github.com/valcosmos/val-design/issues).\n\n## License\n\nval-design is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalcosmos%2Fval-design","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalcosmos%2Fval-design","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalcosmos%2Fval-design/lists"}