
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@rc-component/steps
Advanced tools
React steps component.
npm install @rc-component/steps
<Steps current={1}>
<Steps.Step title="first" />
<Steps.Step title="second" />
<Steps.Step title="third" />
</Steps>
| name | type | default | description |
|---|---|---|---|
| type | string | default | diretypetion of Steps, could be `default` `navigation` `inline` |
| direction | string | horizontal | direction of Steps, enum: `horizontal` or `vertical` |
| current | number | 0 | index of current step |
| initial | number | 0 | index initial |
| size | string | size of Steps, could be `small` | |
| titlePlacement | string | placement of step title, could be `vertical` | |
| status | string | wait | status of current Steps, could be `error` `process` `finish` `wait` |
| icons | { finish: ReactNode, error: ReactNode } | specify the default finish icon and error icon | |
| itemRender | (item: StepProps, stepItem: React.ReactNode) => React.ReactNode | custom step item renderer | |
| onChange | (current: number) => void | Trigger when Step changed |
| name | type | default | description |
|---|---|---|---|
| title | ReactNode | title of step item | |
| subTitle | ReactNode | subTitle of step item | |
| description | ReactNode | description of step item | |
| icon | ReactNode | set icon of step item | |
| status | string | status of current Steps, could be `error` `process` `finish` `wait` | |
| tailContent | ReactNode | content above tail | |
| disabled | bool | false | disabled step when onChange exist |
| render | (stepItem: React.ReactNode) => React.ReactNode | custom step item renderer |
npm install
npm start
@rc-component/steps is released under the MIT license.
FAQs
steps ui component for react
The npm package @rc-component/steps receives a total of 700,903 weekly downloads. As such, @rc-component/steps popularity was classified as popular.
We found that @rc-component/steps demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.