0.0.1 • Published 8 months ago

@tuv-indo/stepper v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

Hudoro stepper

Hudoro stepper is a strict and customizable stepper component for web development projects, designed for simplicity and adherence to strict design guidelines.

Screenshots

App Screenshot

Package instalation

Instal package using pnpm

  pnpm add @hudoro/stepper

Instal package using yarn

  yarn add @hudoro/stepper

Instal package using npm

  npm i @hudoro/stepper

Usage/Examples

import React from "react";
import {Stepper, Step} from "@hudoro/stepper";
import ReactDOM from "react-dom/client";

const App = () => (
  <div>
    <h1>Stepper Component</h1>
    <Stepper orientation="horizontal" active={1}>
      <Step title="title" description="description" />
      <Step title="title1" description="description1" />
      <Step title="title2" description="descriptio2" />
    </Stepper>
  </div>
);

ReactDOM.createRoot(document.getElementById("app")!).render(<App />);

Props @hudoro/stepper

Props that you can pass to <Stepper {...props} />

Prop NameValuerequired
orientation"horizontal" / "vertical"false
childrenReactNodetrue
activenumbertrue

Props that you can pass to <Step {...props} />

Prop NameValuerequired
titlestringtrue
descriptionstringtrue
0.0.1

8 months ago