{"id":15828997,"url":"https://github.com/afeiship/react-block-steps","last_synced_at":"2026-04-25T08:38:55.209Z","repository":{"id":57112671,"uuid":"249888964","full_name":"afeiship/react-block-steps","owner":"afeiship","description":"Block steps for react.","archived":false,"fork":false,"pushed_at":"2024-11-29T05:43:22.000Z","size":456,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T04:10:59.260Z","etag":null,"topics":["block","dot","react","rect","step","steps"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-03-25T04:45:54.000Z","updated_at":"2024-11-29T05:43:25.000Z","dependencies_parsed_at":"2024-10-05T11:00:36.624Z","dependency_job_id":"d8f205b7-ae49-4d74-a1af-259be8313be3","html_url":"https://github.com/afeiship/react-block-steps","commit_stats":null,"previous_names":["afeiship/react-block-steps","afeiship/react-ant-card"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/react-block-steps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-block-steps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-block-steps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-block-steps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-block-steps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/react-block-steps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-block-steps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32256014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["block","dot","react","rect","step","steps"],"created_at":"2024-10-05T11:00:26.736Z","updated_at":"2026-04-25T08:38:55.190Z","avatar_url":"https://github.com/afeiship.png","language":"TypeScript","readme":"# react-block-steps\n\u003e Block steps for react.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```shell\nnpm install -S @jswork/react-block-steps\n```\n\n## usage\n1. import css\n  ```scss\n  @import \"~@jswork/react-block-steps/dist/style.css\";\n\n  // or use sass\n  @import \"~@jswork/react-block-steps/dist/style.scss\";\n  ```\n2. import js\n  ```js\n  import ReactBlockSteps from '@jswork/react-block-steps';\n  import '@jswork/react-block-steps/dist/style.scss';\n  import { useState } from 'react';\n\n  function App() {\n    const [num, setNum] = useState(1);\n    return (\n      \u003cdiv className=\"m-10 p-4 shadow bg-gray-100 text-gray-800 hover:shadow-md transition-all\"\u003e\n        \u003cdiv className=\"badge badge-warning absolute right-0 top-0 m-4\"\u003e\n          Build Time: {BUILD_TIME}\n        \u003c/div\u003e\n        \u003ch1\u003ereact-block-steps\u003c/h1\u003e\n        \u003cdiv className=\"y-3 w-50 border p-2 rounded-lg bg-white mx-auto\"\u003e\n          \u003cinput type=\"number\" className=\"input input-bordered\" value={num}\n                 onChange={(e) =\u003e setNum(parseInt(e.target.value))} /\u003e\n          \u003cReactBlockSteps\n            className=\"x-2 fcc\"\n            value={num}\n            activatedSection={\u003cspan className=\"bg-red-500 size-4 rounded-full\" /\u003e}\n            deactivatedSection={\u003cspan className=\"bg-red-100 size-4 rounded-full\" /\u003e}\n            size={5}\n          /\u003e\n          \u003chr /\u003e\n          \u003cReactBlockSteps\n            className=\"x-2 fcc\"\n            value={num}\n            activatedSection={\u003cspan className=\"bg-blue-500 w-10 h-2\" /\u003e}\n            deactivatedSection={\u003cspan className=\"bg-blue-100 w-10 h-2\" /\u003e}\n            size={5}\n          /\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    );\n  }\n\n  export default App;\n  ```\n\n## preview\n- https://afeiship.github.io/react-block-steps/\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/react-block-steps/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/react-block-steps\n[version-url]: https://npmjs.org/package/@jswork/react-block-steps\n\n[license-image]: https://img.shields.io/npm/l/@jswork/react-block-steps\n[license-url]: https://github.com/afeiship/react-block-steps/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/react-block-steps\n[size-url]: https://github.com/afeiship/react-block-steps/blob/master/dist/react-block-steps.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/react-block-steps\n[download-url]: https://www.npmjs.com/package/@jswork/react-block-steps\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-block-steps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Freact-block-steps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-block-steps/lists"}