New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-dev-marker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dev-marker

A super simple React component that visually marks work-in-progress UI elements with a red dashed border and DEV label.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

react-dev-marker

A super simple React component that visually marks work-in-progress UI elements. Wrap any component to show a red dashed border with a "DEV" label - no more explaining what's not ready yet during demos or code reviews.

Perfect for marking non-functional buttons, blocked features, or anything waiting for implementation. Optionally add a title to explain the status and/or a link to the relevant Slack thread, JIRA ticket, or Figma design.

Zero dependencies - only React as a peer dependency.

react-dev-marker examples

Installation

yarn add react-dev-marker

or

npm install react-dev-marker

or

pnpm install react-dev-marker

Usage

import DevMarker from 'react-dev-marker';

// Basic usage
<DevMarker>
  <MyComponent />
</DevMarker>

// With title
<DevMarker title="Header">
  <Header />
</DevMarker>

// Block display
<DevMarker title="Sidebar" isBlock>
  <Sidebar />
</DevMarker>

// With link to JIRA/Slack
<DevMarker title="Fix layout" link="https://jira.example.com/browse/PROJ-123">
  <BuggyComponent />
</DevMarker>

// Portal mode (for overflow:hidden parents)
<DevMarker isPortal>
  <ClippedContent />
</DevMarker>

Why use DevMarker?

When demoing or testing an app with clients or teammates, you often need to explain what's work-in-progress. Instead of verbal explanations, just wrap components with DevMarker:

Non-functional buttons:

<DevMarker title="Not implemented yet">
  <Button>Export PDF</Button>
</DevMarker>

Blocked features:

<DevMarker title="Blocked by backend" link="https://yourteam.slack.com/archives/...">
  <UserSettingsForm />
</DevMarker>

Waiting for design:

<DevMarker title="Waiting for design" link="https://figma.com/file/...">
  <PlaceholderCard />
</DevMarker>

This way, everyone instantly sees what's in development and can click through to relevant discussions or tickets.

Props

PropTypeDefaultDescription
childrenReactNode-The content to wrap
titlestring-Optional label shown after "DEV:"
isBlockbooleanfalseIf true, renders as block element
isPortalbooleanfalseRenders tab via Portal (for overflow:hidden parents)
linkstring-Optional URL shown as clickable "↗"

License

MIT

Keywords

react

FAQs

Package last updated on 13 Feb 2026

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