Scan your whole stack
From OX Research Newsroom
Are you using @techsio/ui-kit?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.67.0
@techsio/ui-kit was last scanned on 27 Nov 2026 at version 0.67.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.67.0 LATEST | 27 Nov 2026 | No rules fired |
| 0.66.2 | 18 Nov 2026 | No rules fired |
| 0.66.1 | 18 Nov 2026 | No rules fired |
| 0.66.0 | 18 Nov 2026 | Not shown |
| 0.65.0 | 16 Nov 2026 | Not shown |
Findings for v0.67.0. 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.67.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
React 19 components, Zag.js interactions and Tailwind v4 design tokens. Start with Guide / Getting Started in Storybook (source: getting-started.mdx). AGENTS.md is the canonical contributor rulebook, and component contracts define shared behavior.
Use React and React DOM 19.2 or newer. The package has public subpath exports, not a root barrel.
pnpm add @techsio/ui-kit react react-dom
pnpm add -D tailwindcss @tailwindcss/postcss postcss
Process global CSS once through Tailwind v4's PostCSS plugin:
// postcss.config.mjs
export default { plugins: { '@tailwindcss/postcss': {} } }
Choose one stylesheet recipe:
/* App does not already import Tailwind: */
@import "@techsio/ui-kit/tokens-with-tailwind";
/* App owns its Tailwind import: */
@import "tailwindcss";
@import "@techsio/ui-kit/tokens";
Both entries register the shipped component JavaScript with a package-relative
@source. Tailwind otherwise excludes dependencies under node_modules; an
unprocessed CSS link or a token-variable import alone cannot generate utilities.
Do not copy component classes into app source or import both recipes together.
A host that cannot run Tailwind over the kit (for example a Module Federation shell loading remotes built elsewhere) loads the precompiled stylesheet instead, with no Tailwind or PostCSS:
@import "@techsio/ui-kit/styles.css";
styles.css holds preflight, tw-animate-css, every token and brand, each class
the shipped components use in every variant, every utility the kit defines
(all token-icon-* glyphs, so <Icon icon="token-icon-…"> works), and the
consumer vocabulary: the token-backed utilities consumerVocabulary() in
scripts/compiled-css.mjs generates from src/tokens at build time. That is
spacing (p-150, gap-100), sizing (w-full, max-w-5xl), semantic colours
(text-fg-secondary, bg-surface, border-border-primary, also with hover:,
focus-visible: and disabled:), typography (text-sm, font-semibold),
shape (rounded-lg, shadow-md), layout (flex, grid, position, overflow) and
breakpoint prefixes (md:grid-cols-2) on layout, spacing, sizing and text.
An app that loads styles.css and runs no Tailwind may use exactly the kit
components plus this vocabulary. Any other class styles nothing and needs a kit
change; arbitrary iconify classes such as icon-[mdi--close] need a Tailwind
recipe. Use it instead of those recipes, not beside them; theme.css is plain
CSS and can follow it.
import { Button } from '@techsio/ui-kit/atoms/button'
export function CheckoutAction() {
return <Button>Continue to checkout</Button>
}
The kit has no fixed language. Every word a component shows or announces on
its own (placeholders, close buttons, table and filter labels, screen-reader
announcements, validation messages, zag-js labels) comes from one typed
catalog, UiMessages. English ships as enUiMessages and applies without
setup. An app in another language passes its catalog once, near the root:
import type { UiMessagesInput } from '@techsio/ui-kit/messages/ui-messages'
import { UiMessagesProvider } from '@techsio/ui-kit/messages/ui-messages-provider'
const csMessages: UiMessagesInput = {
locale: 'cs-CZ',
label: { required: '(povinné)' },
dialog: { close: 'Zavřít dialog' },
dataTable: { selectRowLabel: (row) => `Vybrat ${row}` },
}
export function AppProviders({ children }: { children: React.ReactNode }) {
return <UiMessagesProvider messages={csMessages}>{children}</UiMessagesProvider>
}
locale is the default formatting locale for components that format numbers or dates.placeholder, closeLabel, translations, …) still wins over the catalog.A brand is data: a BrandDefinition with a key (the data-theme value), a
label, the modes it supports (["light"], ["dark"] or both) and the
tokens that differ from the shared foundation. Mode uses one .light or
.dark class. The attribute-less :root / @theme layer is the foundation
the brands override, not a brand.
The kit's Figma brands ship compiled into its CSS and as the same data from
@techsio/ui-kit/theme/built-in-brands:
| Brand | Export | Modes |
|---|---|---|
| business (default) | businessBrand |
light only |
| akros | akrosBrand |
light only |
| n1 | n1Brand |
light only |
For a fixed kit brand, use <html lang="en" class="light" data-theme="akros">.
No provider is needed for a fixed theme. Do not create an Akros dark scheme.
AppThemeProvider takes the brands an app offers as data and renders each
active brand's stylesheet (brandStylesheet), so a brand that arrives or
changes at runtime applies without a reload or a kit release. Parse untrusted
data with defineBrand (safety and shape) and validate it where it is
stored with validateBrand from @techsio/ui-kit/theme/brand-validator
(tokens the foundation has, WCAG AA on the checked pairs). The validator
carries the whole token foundation, so keep it out of browser bundles.
'use client'
import type { PropsWithChildren } from 'react'
import { businessBrand } from '@techsio/ui-kit/theme/built-in-brands'
import type { BrandDefinition } from '@techsio/ui-kit/theme/theme-config'
import { AppThemeProvider } from '@techsio/ui-kit/theme/theme-provider'
// The app decides the brand (for example per tenant); nothing is persisted.
export function ThemeSetup({ brand, children }: PropsWithChildren<{ brand: BrandDefinition }>) {
return (
<AppThemeProvider brand={brand.key} brands={[brand]} defaultMode="system">
{children}
</AppThemeProvider>
)
}
// A user-selectable brand list instead: the pick is persisted. oceanBrand is a
// BrandDefinition loaded from the app's store.
export function SelectableThemes({ children }: PropsWithChildren) {
return (
<AppThemeProvider brands={[businessBrand, oceanBrand]} defaultBrand="business">
{children}
</AppThemeProvider>
)
}
The mode switch offers only the modes the brand supports: a single-mode brand
is locked to its mode, a brand with both offers light, dark and system.
useAppTheme() exposes the brand in effect, the brands, the allowed modes and
mounted; gate preference-dependent markup on mounted during SSR. The
provider includes BrandThemeScript, a pre-paint bootstrap; render it again
early in head/body when content precedes the provider. Next App Router
layouts place the wrapper in body and use suppressHydrationWarning on
html because pre-hydration scripts update its attributes.
BrandScope applies a brand to its children only, for screens that bring
their own brand or alter the inherited one. Without a scope a subtree inherits
the app's brand.
import { extendBrand } from '@techsio/ui-kit/theme/theme-config'
import { BrandScope, useAppTheme } from '@techsio/ui-kit/theme/theme-provider'
function ReportScreens({ children }: PropsWithChildren) {
const { brand } = useAppTheme()
const reports = extendBrand(brand, {
key: `${brand.key}-reports`,
tokens: { '--color-bg-primary-base': 'var(--color-primary-700)' },
})
return <BrandScope brand={reports}>{children}</BrandScope>
}
Hook/context/event-owning published entrypoints are client boundaries. Compose
compound static members such as Dialog.Trigger inside an app client wrapper;
do not access those members on a client reference from a server page. Callbacks
and render functions belong in client code. Ordinary SSR and RSC are separate
integration contracts.
UIProvider)Every component uses the same names for the same visual axis:
| Prop | Meaning | Values |
|---|---|---|
appearance |
fill style | solid · subtle · outline · ghost (no frame — buttons, Pagination, Accordion, Textarea) · plain (Breadcrumb, VerticalNavigation) (+ component extras such as Tabs line) |
severity |
color intent | primary · secondary · tertiary · neutral · info · success · warning · danger · discount |
validateStatus |
validation state | default · error · success · warning |
size |
size scale | the component's subset of xs…2xl, plus full / current |
UIProvider sets size and appearance for every component below it:
'use client'
import { UIProvider } from '@techsio/ui-kit/theme/ui-provider'
export function Defaults({ children }: PropsWithChildren) {
return (
<UIProvider
size="md"
appearance="solid"
components={{ Button: { appearance: 'outline' }, Dialog: { size: 'lg' } }}
>
{children}
</UIProvider>
)
}
A value resolves as: the prop on the component → components[Name] of the
nearest provider → its global value → the same for each parent provider →
the component's own default. A value a component does not support (for example
appearance="ghost" on Tabs) is skipped, so the component keeps its default.
Providers nest, so a dense toolbar can wrap its controls in size="sm".
AppThemeProvider already renders a root UIProvider with the
size="md" appearance="solid" baseline, merged with the active brand's
optional defaults from its BrandDefinition. Without any provider every
component keeps its own default.
variant / theme / tone# from a new-engine checkout, against the app's sources
node <new-engine>/libs/ui/codemods/unified-style-props/index.mjs <app>/src # rewrite
node <new-engine>/libs/ui/codemods/unified-style-props/index.mjs <app>/src --dry # preview
The codemod rewrites JSX props and literal values (theme="outlined" →
appearance="outline", Button variant → severity, Badge
variant="outline" → appearance="outline" severity="neutral", Input
variant → validateStatus, …) and lists what it could not map: computed values, and object literals (it
never rewrites data such as stored settings).
Run your type checker afterwards; story args, wrapper components and
data objects are reported there. The full table is in
codemods/unified-style-props/README.md.
corner-shape, border-shape)The kit ships utilities for two CSS properties that Tailwind and Figma do not
cover yet. They are defined in src/tokens/_shape.css and included in the
tokens and tokens-with-tailwind entry points (through _tokens-base). The
tokens/* export maps to single files, so if you compose individual token
files instead, import @techsio/ui-kit/tokens/_shape explicitly to get the
corner-* and border-shape-* utilities.
corner-* sets corner-shape
(Chrome/Edge 139+, Safari 27.3+). It reshapes the curve that rounded-*
draws; background, border, outline and shadow follow it:
<div className="rounded-2xl corner-squircle" /> {/* all corners */}
<div className="rounded-lg corner-t-bevel" /> {/* top side */}
<div className="rounded-lg corner-ss-scoop" /> {/* logical start-start corner */}
<div className="rounded-2xl corner-[superellipse(1.5)]" /> {/* any curve */}
<div className="rounded-lg corner-base" /> {/* brand default */}
round (default), squircle, bevel, scoop, notch, square,
or superellipse(<number>). Sides t r b l s e, corners tl tr br bl ss se es ee.supports-[corner-shape:squircle]: for another fallback.corner-base reads --corner-shape-base; override it per brand to reshape
everything that uses it (see the app-token-overrides skill).corner-squircle.border-shape-* sets border-shape
and is experimental (Chrome 147+ only): border-shape-[circle(50%)] strokes
the border along a shape, border-shape-[<outer>_<inner>] fills between two,
border-shape-none resets it. It ignores rounded-*/corner-*, renders solid
and changes the hit area; other browsers show the normal rectangular border.
Live examples: Storybook → Overview → Shape.
libs/ui/
src/{atoms,molecules,organisms,templates}/ component modules (flat files)
src/theme/ registry, provider, togglers
src/tokens/ primitive and semantic layers
src/tokens/components/{atoms,molecules}/ component reference/derived aliases
src/tokens/figma/ generated exports; do not hand-edit
stories/{atoms,molecules,organisms,templates,pages}/
.storybook/ catalog and consumer onboarding
Public imports use @techsio/ui-kit/<category>/<component>, not these source
paths. Built-in brands come from the registry and generated theme mappings;
there is no library brands/customer-a directory. Product-specific composites
and app-only overrides stay in the consuming app.
Token flow is primitive → semantic → component reference → derived utility.
Components use component token classes in tv(); stories can use semantic
layout tokens. Keep changes general rather than adding brand-specific component
branches. App-owned CSS loads after the kit and overrides the active root
selector or a descendant scope with adequate specificity:
.order-form {
--font-weight-button: var(--font-weight-bold);
}
Do not edit generated Figma CSS or copy all kit variables into app overrides. See app token initialization and framework integration.
Button and LinkButton use --font-weight-button, defaulting to
var(--font-weight-medium). Input uses --font-weight-input and
--font-weight-input-placeholder, both defaulting independently to
var(--font-weight-normal). FormInput and NumericInput inherit the Input
tokens. Changing the input weight does not change the placeholder weight.
Override component tokens in the scope that needs them:
.order-form {
--font-weight-button: var(--font-weight-bold);
--font-weight-input: var(--font-weight-medium);
--font-weight-input-placeholder: var(--font-weight-normal);
}
Migration: CSS aliases resolve at their declaration scope. Global overrides
of the referenced primitive at the root still work. A descendant scope that
previously changed only --font-weight-medium or --font-weight-normal must
now set the corresponding component token there. Other medium/normal text is
unaffected by component token overrides. Explicit input/button weight classes
continue to override the component default.
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.