
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
@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
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.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.