
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@assistant-ui/react-lexical
Advanced tools
Lexical-based rich text composer for assistant-ui with @-mention support
@assistant-ui/react-lexicalLexical rich-text composer for @assistant-ui/react, with first-class support for @-mention directive chips. Drop LexicalComposerInput in place of the default plain-text composer to render mentions and slash commands as inline chips while keeping the underlying message format clean.
npm install @assistant-ui/react @assistant-ui/react-lexical
import { ComposerPrimitive } from "@assistant-ui/react";
import { LexicalComposerInput } from "@assistant-ui/react-lexical";
export function Composer() {
return (
<ComposerPrimitive.Root>
<LexicalComposerInput placeholder="Ask anything..." />
<ComposerPrimitive.Send />
</ComposerPrimitive.Root>
);
}
For custom chip rendering, pass a directiveChip render prop. Directives (e.g. @user, /command) survive cursor navigation, selection, and copy/paste as a single unit.
@assistant-ui/react-hook-form for binding the composer to a form whose fields the assistant can read and fill.Full reference at assistant-ui.com/docs.
FAQs
Lexical-based rich text composer for assistant-ui with @-mention support
The npm package @assistant-ui/react-lexical receives a total of 5,427 weekly downloads. As such, @assistant-ui/react-lexical popularity was classified as popular.
We found that @assistant-ui/react-lexical demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.