
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@djangocfg/ui-core
Advanced tools
Pure React UI component library without Next.js dependencies - for Electron, Vite, CRA apps
Pure React UI library with 60+ components built on Radix UI + Tailwind CSS v4.
No Next.js dependencies — works with Electron, Vite, CRA, and any React environment.
Part of DjangoCFG — modern Django framework for production-ready SaaS applications.
pnpm add @djangocfg/ui-core
| Package | Use Case |
|---|---|
@djangocfg/ui-core | Electron, Vite, CRA, any React app |
@djangocfg/ui-nextjs | Next.js apps (extends ui-core) |
Label Button ButtonLink Input Checkbox RadioGroup Select Textarea Switch Slider Combobox MultiSelect InputOTP PhoneInput Form Field
Card Separator Skeleton AspectRatio Sticky ScrollArea Resizable Section
Dialog AlertDialog Sheet Drawer Popover HoverCard Tooltip
Toast Toaster Alert Progress Badge Avatar
Table Tabs Accordion Collapsible Toggle ToggleGroup Calendar Carousel
Command ContextMenu Chart
ButtonGroup Empty Spinner Preloader Kbd TokenIcon InputGroup Item ImageWithFallback OgImage CopyButton CopyField StaticPagination
| Hook | Description |
|---|---|
useMediaQuery | Responsive breakpoints |
useIsMobile | Mobile detection |
useCopy | Copy to clipboard |
useCountdown | Countdown timer |
useDebounce | Debounce values |
useDebouncedCallback | Debounced callbacks |
useImageLoader | Image loading state |
useToast | Toast notifications |
useEventListener | Event bus |
useDebugTools | Debug utilities |
import { Button, Card, Input, useToast } from '@djangocfg/ui-core';
function Example() {
const { toast } = useToast();
return (
<Card>
<Input placeholder="Email" />
<Button onClick={() => toast({ title: 'Saved!' })}>
Submit
</Button>
</Card>
);
}
// In Electron renderer process
import { Button, Dialog, useMediaQuery } from '@djangocfg/ui-core';
import '@djangocfg/ui-core/styles/globals';
function App() {
const isMobile = useMediaQuery('(max-width: 768px)');
return (
<Dialog>
<Button>Open Dialog</Button>
</Dialog>
);
}
// Import global styles
import '@djangocfg/ui-core/styles/globals';
| Path | Content |
|---|---|
@djangocfg/ui-core | All components & hooks |
@djangocfg/ui-core/components | Components only |
@djangocfg/ui-core/hooks | Hooks only |
@djangocfg/ui-core/lib | Utilities (cn, etc.) |
@djangocfg/ui-core/styles | CSS |
These features require Next.js or browser storage APIs:
Sidebar — uses next/linkBreadcrumb, BreadcrumbNavigation — uses next/linkNavigationMenu, Menubar — uses next/linkPagination, SSRPagination — uses next/linkDropdownMenu — uses next/linkDownloadButton — uses localStorageuseLocalStorage, useSessionStorage — browser storageuseTheme — uses next-themesuseQueryParams, useCfgRouter — uses next/routerFAQs
Pure React UI component library without Next.js dependencies - for Electron, Vite, CRA apps
The npm package @djangocfg/ui-core receives a total of 2,041 weekly downloads. As such, @djangocfg/ui-core popularity was classified as popular.
We found that @djangocfg/ui-core 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.