
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A clean, minimal, tree-shakable React UI components & hooks.
⚠ You must install q-js-utils, unless you already have it installed.
npm install q-react-ui q-js-utils
Or
yarn add q-react-ui q-js-utils
import { Avatar, AvatarGroup, type AvatarItemProps } from 'q-react-ui';
const App = () => {
const users: AvatarItemProps = [
{
alt: "Muhamad Husein",
},
{
alt: "Tony Start"
},
{
alt: "Peter Parker"
},
{
alt: "Clark Kent"
},
{
alt: "Diana Prince"
},
{
alt: "Bruce Wayne"
},
{
alt: "John Doe"
}
];
return (
<>
<Avatar
alt="Muhamad Husein"
src="https://avatars.githubusercontent.com/u/19644272?v=4"
/>
<Avatar
size={55}
/>
<Avatar
alt="Steve Roger"
size={55}
/>
<h2>AvatarGroup</h2>
<AvatarGroup
size={57}
items={users.map((item: any) => ({ ...item, className: "rounded-full" }))}
renderRemaining={(remaining, remaningProps, remainingItems) => (
<div
{...remaningProps}
className={"bg-red-400 " + remaningProps.className + " text-red-100"}
title={remainingItems.map(item => item.alt).join('\n')}
>
+{remaining}
</div>
)}
/>
<hr />
<AvatarGroup
items={users.map((item: any) => ({ ...item, className: "rounded-full" }))}
/>
</>
);
}
Or single import for tree-shaking.
import { Avatar } from 'q-react-ui/Avatar';
import { AvatarGroup } from 'q-react-ui/AvatarGroup';
About Tree-Shaking:
A React Hook to detect and monitor the browser's online/offline network status. It provides the current network status as a boolean and allows optional callbacks for when the network status changes.
import { useNetwork } from 'q-react-ui/useNetwork';
import { useNetwork } from 'q-react-ui/useNetwork';
import { cn } from 'q-js-utils/cn';
const App = () => {
const isOnline = useNetwork({
onOnline: () => alert('ONLINE'),
onOffline: () => alert('OFFLINE'),
});
return (
<div>
<h4
className={
cn(
"text-2xl font-bold",
isOnline ? "text-blue-600" : "text-red-600"
)
}
>
{isOnline ? "Online" : "Offline"}
</h4>
</div>
);
}
FAQs
A clean, minimal, tree-shakable React UI components & hooks.
We found that q-react-ui 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.