
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
@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
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 | Toast notifications (Sonner) |
useEventListener | Event bus |
useDebugTools | Debug utilities |
import { Button, Card, Input } from '@djangocfg/ui-core';
import { toast } from '@djangocfg/ui-core/hooks';
function Example() {
return (
<Card>
<Input placeholder="Email" />
<Button onClick={() => toast.success('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
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.