
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
react-status-pill
Advanced tools
A lightweight, flexible, and customizable status pill (badge) component
for React.
Perfect for dashboards, admin panels, SaaS apps, and anywhere you need
clean status labels.
soft, solid, outlinesm, md, lgclassName and style for custom CSSnpm install react-status-pill
import { StatusPill } from "react-status-pill";
function App() {
return (
<>
<StatusPill label="Active" tone="success" />
<StatusPill label="Blocked" tone="error" />
<StatusPill label="In Review" tone="warning" />
</>
);
}
You are not limited to predefined statuses.
<StatusPill label="Deployed" color="#6366F1" />
<StatusPill label="VIP" color="hotpink" />
<StatusPill label="Soft" tone="info" variant="soft" />
<StatusPill label="Solid" tone="success" variant="solid" />
<StatusPill label="Outline" tone="error" variant="outline" />
<StatusPill label="Small" size="sm" />
<StatusPill label="Medium" size="md" />
<StatusPill label="Large" size="lg" />
You can style it using your own CSS, Tailwind, or inline styles.
className<StatusPill
label="Tailwind Styled"
className="bg-purple-600 text-white px-4 py-1 rounded-full"
/>
style<StatusPill
label="Custom Style"
style={{ letterSpacing: "1px", textTransform: "uppercase" }}
/>
Prop Type Required Description
label string ✅ Yes Text inside
the pill
color string ❌ No Custom color
(overrides
tone)
tone success | error | warning | info | neutral ❌ No Preset color
helper
size sm | md | lg ❌ No Size of the
pill
variant soft | solid | outline ❌ No Visual style
rounded boolean ❌ No Fully rounded
pill
className string ❌ No Custom CSS
class
React.CSSProperties ❌ No Inline style
overrideMost libraries force predefined statuses like success, error, etc.
This component is designed to be domain-agnostic, so it works for:
You control the label. Always.
as propMIT
FAQs
A lightweight, customizable status pill component for React.
We found that react-status-pill demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.