{"id":13496565,"url":"https://github.com/react-component/steps","last_synced_at":"2025-08-29T05:37:36.500Z","repository":{"id":2026091,"uuid":"38023494","full_name":"react-component/steps","owner":"react-component","description":"React Steps","archived":false,"fork":false,"pushed_at":"2024-08-22T02:36:34.000Z","size":9054,"stargazers_count":335,"open_issues_count":23,"forks_count":112,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-03-16T14:36:31.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://steps.vercel.app/","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/react-component.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-06-25T02:34:10.000Z","updated_at":"2024-12-31T09:49:54.000Z","dependencies_parsed_at":"2023-12-25T03:19:17.926Z","dependency_job_id":"0c7450da-5baa-4f2a-bb35-19bd332be40e","html_url":"https://github.com/react-component/steps","commit_stats":{"total_commits":217,"total_committers":33,"mean_commits":6.575757575757576,"dds":0.6036866359447004,"last_synced_commit":"99880626e80ee3bb55082702d3ce0f98378f3e76"},"previous_names":[],"tags_count":72,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fsteps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fsteps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fsteps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fsteps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-component","download_url":"https://codeload.github.com/react-component/steps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245810207,"owners_count":20676134,"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":[],"created_at":"2024-07-31T19:01:51.791Z","updated_at":"2025-08-29T05:37:36.494Z","avatar_url":"https://github.com/react-component.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# @rc-component/steps\n\n---\n\nReact steps component.\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![npm download][download-image]][download-url]\n[![bundle size][bundlephobia-image]][bundlephobia-url]\n\n[npm-image]: http://img.shields.io/npm/v/@rc-component/steps.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@rc-component/steps\n[travis-image]: https://img.shields.io/travis/react-component/steps.svg?style=flat-square\n[travis-url]: https://travis-ci.org/react-component/steps\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/steps/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/react-component/steps/branch/master\n[download-image]: https://img.shields.io/npm/dm/@rc-component/steps.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@rc-component/steps\n[bundlephobia-url]: https://bundlephobia.com/result?p=@rc-component/steps\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/steps\n\n## Usage\n\n```bash\nnpm install @rc-component/steps\n```\n\n\u003cbr\u003e\n\n```jsx | pure\n\u003cSteps current={1}\u003e\n  \u003cSteps.Step title=\"first\" /\u003e\n  \u003cSteps.Step title=\"second\" /\u003e\n  \u003cSteps.Step title=\"third\" /\u003e\n\u003c/Steps\u003e\n```\n\n## Example\n\nhttps://steps.vercel.app/\n\n## API\n\n\u003ctable class=\"table table-bordered table-striped\"\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth style=\"width: 100px;\"\u003ename\u003c/th\u003e\n      \u003cth style=\"width: 50px;\"\u003etype\u003c/th\u003e\n      \u003cth style=\"width: 50px;\"\u003edefault\u003c/th\u003e\n      \u003cth\u003edescription\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003etype\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003edefault\u003c/td\u003e\n      \u003ctd\u003ediretypetion of Steps, could be `default` `navigation` `inline`\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003edirection\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003ehorizontal\u003c/td\u003e\n      \u003ctd\u003edirection of Steps, enum: `horizontal` or `vertical`\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ecurrent\u003c/td\u003e\n      \u003ctd\u003enumber\u003c/td\u003e\n      \u003ctd\u003e0\u003c/td\u003e\n      \u003ctd\u003eindex of current step\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003einitial\u003c/td\u003e\n      \u003ctd\u003enumber\u003c/td\u003e\n      \u003ctd\u003e0\u003c/td\u003e\n      \u003ctd\u003eindex initial\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003esize\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003esize of Steps, could be `small`\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003etitlePlacement\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003eplacement of step title, could be `vertical`\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003estatus\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003ewait\u003c/td\u003e\n      \u003ctd\u003estatus of current Steps, could be `error` `process` `finish` `wait`\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eicons\u003c/td\u003e\n      \u003ctd\u003e{ finish: ReactNode, error: ReactNode }\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003especify the default finish icon and error icon\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eitemRender\u003c/td\u003e\n      \u003ctd\u003e(item: StepProps, stepItem: React.ReactNode) =\u003e React.ReactNode\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003ecustom step item renderer\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eonChange\u003c/td\u003e\n      \u003ctd\u003e(current: number) =\u003e void\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003eTrigger when Step changed\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n### Steps.Step\n\n\u003ctable class=\"table table-bordered table-striped\"\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth style=\"width: 100px;\"\u003ename\u003c/th\u003e\n      \u003cth style=\"width: 50px;\"\u003etype\u003c/th\u003e\n      \u003cth style=\"width: 50px;\"\u003edefault\u003c/th\u003e\n      \u003cth\u003edescription\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003etitle\u003c/td\u003e\n      \u003ctd\u003eReactNode\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003etitle of step item\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003esubTitle\u003c/td\u003e\n      \u003ctd\u003eReactNode\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003esubTitle of step item\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003edescription\u003c/td\u003e\n      \u003ctd\u003eReactNode\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003edescription of step item\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eicon\u003c/td\u003e\n      \u003ctd\u003eReactNode\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003eset icon of step item\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003estatus\u003c/td\u003e\n      \u003ctd\u003estring\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003estatus of current Steps, could be `error` `process` `finish` `wait`\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003etailContent\u003c/td\u003e\n      \u003ctd\u003eReactNode\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003econtent above tail\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003edisabled\u003c/td\u003e\n      \u003ctd\u003ebool\u003c/td\u003e\n      \u003ctd\u003efalse\u003c/td\u003e\n      \u003ctd\u003edisabled step when onChange exist\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003erender\u003c/td\u003e\n      \u003ctd\u003e(stepItem: React.ReactNode) =\u003e React.ReactNode\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003ecustom step item renderer\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Development\n\n```bash\nnpm install\nnpm start\n```\n\n## License\n\n@rc-component/steps is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-component%2Fsteps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-component%2Fsteps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-component%2Fsteps/lists"}