New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@leafygreen-ui/stepper

Package Overview
Dependencies
Maintainers
4
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafygreen-ui/stepper

leafyGreen UI Kit Stepper

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.2K
increased by6.64%
Maintainers
4
Weekly downloads
 
Created
Source

Stepper

npm (scoped)

View on Storybook

Installation

Yarn

yarn add @leafygreen-ui/stepper

NPM

npm install @leafygreen-ui/stepper

Example

Step 1 Step 2

Output HTML

<div aria-label="breadcrumbs" class="leafygreen-ui-13pcgvz">
  <div class="leafygreen-ui-plizcc">
    <div
      class="leafygreen-ui-1cyt2ch"
      aria-label="Step 1"
      aria-current="step"
      step="0"
    >
      <div class="leafygreen-ui-7uty9f">
        <div class="leafygreen-ui-gbxl1s">1</div>
      </div>
      Step 1
      <div class="leafygreen-ui-1d8yxum">
        <span class="leafygreen-ui-1tyue0g"><div></div></span>
        <span class="leafygreen-ui-s0bv6u"><div></div></span>
      </div>
    </div>
    <div class="leafygreen-ui-15p2xzb" aria-label="Step 2" step="1">
      <div class="leafygreen-ui-9u2rvb">
        <div class="leafygreen-ui-gbxl1s">2</div>
      </div>
      Step 2
      <div class="leafygreen-ui-1d8yxum">
        <span class="leafygreen-ui-1tyue0g"><div></div></span>
        <span class="leafygreen-ui-s0bv6u"><div></div></span>
      </div>
    </div>
  </div>
</div>

Properties

PropTypeDescriptionDefault
childrenStepElementsStrings wrapped in <Step></Step> to display as each step
currentStepnumberStarting at 0, index of current step that should be highlighted.
maxDisplayedStepsnumberMaximum number of steps displayed a time. The rest are hidden.children.length

FAQs

Package last updated on 12 Oct 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc