
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@leafygreen-ui/stepper
Advanced tools
yarn add @leafygreen-ui/stepper
npm install @leafygreen-ui/stepper
<Stepper currentStep={0} maxDisplayedSteps={2}>
<div>Step 1</div>
<div>Step 2</div>
</Stepper>
or
<Stepper currentStep={0} maxDisplayedSteps={2}>
<Step>Step 1</Step>
<Step>Step 2</Step>
</Stepper>
Output HTML
<ol class="leafygreen-ui-1pvgjhr" aria-label="progress">
<li>
<div class="leafygreen-ui-1x8f1m7" aria-label="step1" aria-current="step">
<div class="lg-ui-03f12bfd leafygreen-ui-1dyv85w">
<div class="leafygreen-ui-17xqetg">1</div>
</div>
<p class="lg-ui-d036aa4e leafygreen-ui-1u866nc">Step 1</p>
</div>
</li>
<li>
<div class="leafygreen-ui-1x8f1m7" aria-label="step2" aria-current="false">
<div class="lg-ui-03f12bfd leafygreen-ui-1oypnhq">
<div class="leafygreen-ui-17xqetg">2</div>
</div>
<p class="lg-ui-d036aa4e leafygreen-ui-1uk291k">Step 2</p>
</div>
</li>
</ol>
Prop | Type | Description | Default |
---|---|---|---|
children | React.ReactNode | ReactNode to display as the children of each step | |
currentStep | number | Starting at 0, index of current step that should be highlighted. | |
maxDisplayedSteps | number | Maximum number of steps displayed a time. The rest are hidden. | children.length |
completedStepsShown | number | Number of completed steps shown before the currentStep . The ellipses step is included in this count. | 1 |
className | string | className applied to the root element |
FAQs
leafyGreen UI Kit Stepper
The npm package @leafygreen-ui/stepper receives a total of 1,184 weekly downloads. As such, @leafygreen-ui/stepper popularity was classified as popular.
We found that @leafygreen-ui/stepper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.