Scan your whole stack
From OX Research Newsroom
Are you using @bardioc/ui?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.10.6
@bardioc/ui was last scanned on 1 Dec 2026 at version 0.10.6. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.10.6 LATEST | 1 Dec 2026 | No rules fired |
| 0.10.5 | 1 Dec 2026 | No rules fired |
| 0.10.3 | 30 Nov 2026 | No rules fired |
| 0.10.2 | 27 Nov 2026 | Not shown |
| 0.10.1 | 26 Nov 2026 | Not shown |
Findings for v0.10.6. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.10.6; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Bardioc UI component library for BardiocOS apps. Combines a custom Bardioc component layer with Shadcn/Radix primitives on top of Tailwind CSS 4.
pnpm add @bardioc/ui
# peers (provide in the consumer app)
pnpm add react react-dom @bardioc/i18n-core
@bardioc/ui ships only subpath exports. Import the surface you need rather than the package root.
| Subpath | Purpose |
|---|---|
@bardioc/ui/components |
Bardioc components (canonical non-chart surface) |
@bardioc/ui/components/charts |
Bardioc chart components (Recharts-backed) |
@bardioc/ui/components/metrics |
Bardioc metric components |
@bardioc/ui/shadcn |
Shadcn/Radix primitives (non-chart) — use as namespace import |
@bardioc/ui/shadcn/chart |
Shadcn chart primitives (Recharts-backed) |
@bardioc/ui/hooks |
Reusable React hooks |
@bardioc/ui/lib |
Utility functions (cn, color helpers, pagination, ...) |
@bardioc/ui/types |
Shared TypeScript types |
@bardioc/ui/consts |
Shared constants |
@bardioc/ui/icons |
SVG icon components |
@bardioc/ui/styles/* |
CSS entry points (globals.css, component stylesheets) |
@bardioc/ui/postcss.config |
PostCSS preset for consumers |
Component choice, design tokens, implementation patterns and UI copy rules ship with the package in docs/ (node_modules/@bardioc/ui/docs/INDEX.md once installed).
Files under src/components/shadcn/ are managed by the shadcn CLI. Do not hand-edit them. To change visuals or behavior, create or edit a Bardioc component under src/components/bardioc/<category>/ that overrides or composes the primitive.
tsc compiles each source file to one ESM file with its declarations, and tsc-alias rewrites #-aliases to relative .js paths. One file per module lets a consumer's bundler drop every file it does not import, and keeps one copy of each module across subpaths.
Only the shadcn source files carry 'use client' directives; the barrels and most Bardioc components do not. When consuming @bardioc/ui/{components,shadcn,hooks} from a React Server Components environment (e.g. Next.js App Router), mark the consuming file with 'use client' yourself:
'use client';
import { Command } from '@bardioc/ui/shadcn';
Non-RSC environments (Vite, plain Webpack, Storybook, Vitest) need no special handling.
import { Button, DataTable } from '@bardioc/ui/components';
import { RevenueChart } from '@bardioc/ui/components/metrics';
import * as Shadcn from '@bardioc/ui/shadcn';
import { ChartContainer } from '@bardioc/ui/shadcn/chart';
import { cn } from '@bardioc/ui/lib';
import '@bardioc/ui/styles/bardioc-ui.css'; // pre-compiled theme + utilities
Components in this package style themselves with Tailwind utility classes (className="bg-primary text-primary-foreground rounded-md ..."). Tailwind classes are not real CSS — they are tokens that Tailwind translates into CSS rules at build time. Without that translation, the markup has class attributes that mean nothing to the browser, and components render unstyled.
To make components render correctly, import the pre-compiled CSS bundle once in your app's entry file:
// src/main.tsx (or app/layout.tsx, etc. — once per app)
import '@bardioc/ui/styles/bardioc-ui.css';
That bundle (~200 KB minified) contains:
--background, --primary, --ring, etc., in both light and dark modes)tw-animate-css animation utilitiesConsumers do not need Tailwind installed to use the library. They do not need to configure @source or a content array. The single CSS import provides everything our components reference.
| Entry | When to use |
|---|---|
@bardioc/ui/styles/bardioc-ui.css |
External consumers (npm install). Pre-compiled, fully self-contained. Default. |
@bardioc/ui/styles/globals.css |
Monorepo siblings only. Source-style; you run Tailwind yourself and add @source. |
globals.css contains @import 'tailwindcss' plus @source '../../../../packages/**/...' directives that resolve only within this monorepo. It exists so siblings can extend Tailwind with their own app-specific class names while still sharing our theme tokens. In a node_modules install, those @source paths point at nonsense and the file does not work. Use bardioc-ui.css instead.
The package build runs in three steps:
tsc and tsc-alias compile each source file to dist/ (no CSS handling).node scripts/copy-assets.mjs copies the raw source CSS files (globals.css, shadcn.css, components/*.css, etc.) into dist/styles/ for monorepo-sibling consumers.tailwindcss -i src/styles/build-bundle.css -o dist/styles/bardioc-ui.css --minify runs the Tailwind v4 CLI: it scans packages/ui/src/**/*.{ts,tsx} for class names referenced in our JSX, generates only the matching utility CSS, prepends the theme layer, and writes the single minified bundle.The Tailwind compile step is what lets external consumers skip the toolchain entirely. The build artifact is portable, framework-agnostic CSS — the same file works in Next.js, Vite, plain HTML, or any bundler that supports CSS imports.
bardioc-ui.css defines tokens as CSS custom properties (e.g. --primary, --background). Override them in consumer CSS after importing the bundle:
@import '@bardioc/ui/styles/bardioc-ui.css';
:root {
--primary: oklch(0.6 0.2 250);
--radius: 0.5rem;
}
For deeper theming (adding new utility colors, custom breakpoints, etc.), use the source-style globals.css path from a monorepo sibling and extend Tailwind directly.
pnpm --filter @bardioc/ui build # tsc + copy CSS + tailwind compile
pnpm --filter @bardioc/ui check-types
pnpm --filter @bardioc/ui test
pnpm --filter @bardioc/ui pack:check # inspect what would be published
The package emits ESM JavaScript with declaration files. Tests live in packages/ui/tests/unit/ and are excluded from dist.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.