
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
react-tagify
Advanced tools
Empower your React applications with effortless #tag and @mention support
Empower your React applications with effortless #tag and @mention support ❤️
React Tagify is a powerful and pure React component for handling hashtags and mentions in your React app with ease. Give your users the ability to mention others and add tags to their content seamlessly.
For more information and demo, visit our website here.
Install the package using npm or yarn:
npm i react-tagify
or
yarn add react-tagify
import { Tagify } from 'react-tagify';
<Tagify
onClick={(text, type) => console.log(text, type)}
>
<p>
This is a #React component with help of #ReactTagify!
</p>
</Tagify>
Prop | Type | Default | Description |
---|---|---|---|
children | ReactNode | - | The content to be processed for tags and mentions. |
color | string | '#0073e6' | The color of the tags and mentions. |
onClick | function | - | A callback function that is called when a tag or mention is clicked. Receives the clicked element as an argument and type of it |
tagStyle | object | - | The CSS style object for hashtag styling. |
mentionStyle | object | - | The CSS style object for mention styling. |
detectHashtags | boolean | true | Enable or disable the detection of hashtags. |
detectMentions | boolean | true | Enable or disable the detection of mentions. |
Please feel free to contribute by submitting a pull request or reporting any issues you encounter while using this component.
React Tagify is licensed under the MIT License.
FAQs
Empower your React applications with effortless #tag and @mention support
The npm package react-tagify receives a total of 305 weekly downloads. As such, react-tagify popularity was classified as not popular.
We found that react-tagify demonstrated a not healthy version release cadence and project activity because the last version was released 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.