
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
react-tag-maker
Advanced tools
GloomyTags is a custom tag input component for React. This component provides functionality to add and remove tags, enhancing the user experience with various options.
You can install the package using npm or yarn.
npm install react-tag-maker
or
yarn add react-tag-maker

You can use the GloomyTags component to create a tag input field. The basic usage is as follows:
import React, { useState } from 'react';
import GloomyTags from 'react-tag-maker';
function App() {
const [state, setState] = useState([]);
return (
<GloomyTags
state={state}
setState={setState}
/>
);
}
export default App;
import React, { useState } from 'react';
import GloomyTags from 'react-tag-maker';
function App() {
const [state, setState] = useState([]);
return (
<GloomyTags
state={state}
setState={setState}
disableBackspaceRemove={false} // Whether to remove tags with Backspace
isEditOnRemove={false} // Whether to switch to edit mode when a tag is removed
throttleTime={300} // Input throttle time
/>
);
}
export default App;
The component includes basic styles and is provided in a CSS-in-JS manner. Use the classNames and style props to apply additional styles.
GloomyTagsname (optional): The name attribute of the <input> element.placeHolder (optional): The placeholder text for the <input> element.state: An array of strings representing the current tag state.setState: A function to update the tag state.onChange (optional): Callback function called when the tag state changes.onBlur (optional): Callback function called when the <input> element loses focus.separators (optional): Array of keys to separate tags (e.g., [' ', ',']).disableBackspaceRemove (optional): Whether to allow removing tags with the Backspace key.onExisting (optional): Callback function called when an existing tag is entered.onRemoved (optional): Callback function called when a tag is removed.disabled (optional): Whether to disable the component.isEditOnRemove (optional): Whether to switch to edit mode when a tag is removed.beforeAddValidate (optional): Function for validating before adding a tag.onKeyUp (optional): Keyup event handler for the <input> element.classNames (optional): Object to specify CSS class names. { tag?: string, input?: string }.style (optional): Object to apply inline styles.throttleTime (optional): Input throttle time.Tagtext: Text to display on the tag.remove: Function to remove the tag.disabled (optional): Whether to disable the remove button on the tag.className (optional): CSS class name for the tag.If you wish to contribute, please submit a pull request after documenting or reporting an issue.
FAQs
A customizable tag input component for React and Nextjs
We found that react-tag-maker 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.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.