Scan your whole stack
From OX Research Newsroom
Are you using @webstrail/ui-library?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.10
@webstrail/ui-library was last scanned on 26 Nov 2026 at version 1.0.10. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.10 LATEST | 26 Nov 2026 | No rules fired |
| 1.0.9 | 25 Nov 2026 | No rules fired |
| 1.0.8 | 24 Nov 2026 | No rules fired |
| 1.0.7 | 20 Nov 2026 | Not shown |
| 1.0.6 | 19 Nov 2026 | Not shown |
Findings for v1.0.10. 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 1.0.10; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A production-ready, framework-agnostic, enterprise-grade React 19 component library engineered with TypeScript strict mode, CSS Modules isolation, and a 3-tier styling resolution engine.
Designed to be used seamlessly across any consumer application styling paradigm: Tailwind CSS, Plain CSS, CSS Modules, Styled Components, or Emotion.
any, strictly typed props, styles, and configs.--wui-* CSS custom properties, never mutates :root dynamically, and does not alter global body, html, or application layout.styles prop > UIProvider config > built-in defaults.className (classes/Tailwind), style (inline CSSProperties), and styles (semantic tokens).dist/index.js) and CJS (dist/index.cjs) with externalized React and generated .d.ts declarations.Every component in @webstrail/ui-library accepts three distinct styling channels:
<Input
// 1. className: For Tailwind utilities, CSS Modules classes, or global class names
className="w-full rounded-lg bg-blue-50 shadow-sm"
// 2. style: Standard React.CSSProperties directly applied to root DOM element
style={{ marginBottom: '16px' }}
// 3. styles: Strongly typed semantic tokens mapped to scoped CSS variables
styles={{
height: '48px',
borderColor: '#2491eb',
borderRadius: '12px',
backgroundColor: '#ffffff',
}}
/>
Semantic styles are resolved property-by-property in this exact order:
$$\text{Component-level } \texttt{styles} ;\succ; \text{UIProvider } \texttt{config} ;\succ; \text{Built-in Library Defaults}$$
This is an immutable, property-level merge, not a full object replacement. If you specify only { borderColor: 'red' } at the component level, height, padding, font size, and border radius from the Provider and built-in defaults are preserved intact.
Install using Yarn, NPM, or PNPM:
# Using Yarn
yarn add @webstrail/ui-library
# Using NPM
npm install @webstrail/ui-library
# Using PNPM
pnpm add @webstrail/ui-library
Import the library CSS once in your application entry point (e.g., main.tsx or App.tsx):
import '@webstrail/ui-library/style.css';
import React from 'react';
import { UIProvider, Button, Input } from '@webstrail/ui-library';
import '@webstrail/ui-library/style.css';
export function App() {
return (
<UIProvider
config={{
colors: {
primary: '#2491eb',
},
button: {
borderRadius: '8px',
height: '42px',
},
}}
>
<main style={{ padding: '24px', maxWidth: '400px' }}>
<Input
label="Email"
placeholder="name@example.com"
styles={{ borderColor: '#d1d5db' }}
className="mb-4"
/>
<Button
label="Sign In"
variant="primary"
fullWidth
onClick={() => alert('Signing in...')}
/>
</main>
</UIProvider>
);
}
UIProvider instances inherit from parent providers and override specific properties for a subtree.:root mutation. CSS custom properties are scoped to components.import { UIProvider } from '@webstrail/ui-library';
const brandTheme = {
colors: {
primary: '#6366f1',
secondary: '#4338ca',
text: '#0f172a',
border: '#cbd5e1',
error: '#ef4444',
},
button: {
height: '44px',
borderRadius: '10px',
fontSize: '15px',
},
input: {
height: '44px',
borderRadius: '10px',
focusBorderColor: '#6366f1',
},
};
export function Root() {
return (
<UIProvider config={brandTheme}>
<Application />
</UIProvider>
);
}
| Section | Tokens / Configurable Keys |
|---|---|
colors |
primary, secondary, text, textSecondary, border, background, error, success, disabled, disabledBackground, disabledText, focusRing |
typography |
fontFamily, fontSizeSmall, fontSizeMedium, fontSizeLarge, fontWeightNormal, fontWeightMedium, fontWeightBold |
layout |
borderRadiusSmall, borderRadiusMedium, borderRadiusLarge |
button |
height, borderRadius, fontSize, fontWeight, backgroundColor, textColor, borderColor, hoverBackgroundColor, hoverTextColor, activeBackgroundColor, disabledBackgroundColor, disabledTextColor, padding, transition |
input |
height, borderRadius, borderColor, textColor, placeholderColor, backgroundColor, focusBorderColor, focusRingColor, errorBorderColor, disabledBackgroundColor, disabledTextColor, labelColor, helperColor, errorColor, fontSize, padding |
select |
height, borderRadius, borderColor, textColor, placeholderColor, backgroundColor, focusBorderColor, focusRingColor, errorBorderColor, dropdownBackgroundColor, dropdownBorderColor, dropdownShadow, optionTextColor, optionHoverBackgroundColor, optionHoverTextColor, optionSelectedBackgroundColor, optionSelectedTextColor, optionSelectedHoverBackgroundColor, optionCheckColor, optionBorderRadius, optionPadding, optionFontSize, optionFontWeight, optionSelectedFontWeight, labelColor, errorColor |
checkbox |
size, borderRadius, borderColor, checkedColor, checkmarkColor, backgroundColor, focusRingColor, disabledColor, disabledBackgroundColor, labelColor, fontSize |
radio |
size, borderColor, checkedColor, dotColor, dotSize, backgroundColor, focusRingColor, disabledColor, disabledBackgroundColor, labelColor, descriptionColor, fontSize |
switch |
width, height, thumbSize, thumbColor, thumbCheckedColor, trackColor, trackCheckedColor, focusRingColor, borderRadius, disabledOpacity, labelColor, descriptionColor, fontSize |
textarea |
minHeight, borderRadius, borderColor, textColor, placeholderColor, backgroundColor, focusBorderColor, focusRingColor, errorBorderColor, disabledBackgroundColor, disabledTextColor, labelColor, helperColor, errorColor, counterColor, fontSize, padding |
import { Button } from '@webstrail/ui-library';
// Variants
<Button variant="primary" label="Primary Action" />
<Button variant="secondary" label="Secondary Action" />
<Button variant="outline" label="Outline Action" />
<Button variant="ghost" label="Ghost Action" />
<Button variant="danger" label="Delete" />
// Sizes & States
<Button size="small" label="Small" />
<Button size="large" fullWidth loading loadingText="Processing..." />
<Button disabled label="Disabled" />
// Icons
<Button startIcon={<DownloadIcon />} label="Download Report" />
import { Input } from '@webstrail/ui-library';
// Default Floating Label with smooth transition to top-left corner on focus/fill
<Input
label="Work Email"
placeholder="name@company.com"
required
helperText="We will never share your email."
startIcon={<MailIcon />}
styles={{
borderColor: '#94a3b8',
focusBorderColor: '#2491eb',
}}
/>
// Static Top Label Mode (disable floating transition)
<Input
label="Username"
floatingLabel={false}
placeholder="Enter username"
/>
// Error State
<Input
label="Username"
defaultValue="taken_user"
errorMessage="This username is already taken"
/>
import { Checkbox } from '@webstrail/ui-library';
// Uncontrolled
<Checkbox label="Remember me" defaultChecked />
// Controlled & Indeterminate
<Checkbox
label="Select all items"
checked={isAllSelected}
indeterminate={isPartiallySelected}
onChange={(e) => handleToggleAll(e.target.checked)}
/>
import { Select } from '@webstrail/ui-library';
// Standard Select - Option theme automatically adapts to UIProvider primary color
<Select
label="Assigned Team"
placeholder="Choose team..."
options={[
{ value: 'eng', label: 'Engineering' },
{ value: 'product', label: 'Product Management' },
{ value: 'ops', label: 'Operations', disabled: true },
]}
value={selectedTeam}
onChange={(val) => setSelectedTeam(val)}
/>;
// Custom Option Theming via Config or Component Styles
<Select
label="Custom Option Themed Select"
styles={{
optionTextColor: '#334155',
optionHoverBackgroundColor: '#fef3c7',
optionHoverTextColor: '#92400e',
optionSelectedBackgroundColor: '#fde68a',
optionSelectedTextColor: '#78350f',
optionSelectedHoverBackgroundColor: '#fcd34d',
optionCheckColor: '#78350f',
optionPadding: '10px 14px',
optionBorderRadius: '8px',
optionSelectedFontWeight: 600,
}}
options={[
{ value: 'admin', label: 'Administrator' },
{ value: 'editor', label: 'Editor' },
{ value: 'viewer', label: 'Viewer' },
]}
/>;
import { Radio, RadioGroup } from '@webstrail/ui-library';
// Declarative RadioGroup with options & descriptions
<RadioGroup
name="plan"
defaultValue="pro"
direction="vertical"
options={[
{ value: 'free', label: 'Free Tier', description: 'Up to 3 projects' },
{ value: 'pro', label: 'Pro Tier', description: 'Unlimited projects & priority support' },
{ value: 'enterprise', label: 'Enterprise', disabled: true },
]}
onChange={(val) => console.log('Selected:', val)}
/>;
// Standalone Radio with custom color and size
<Radio name="payment" value="credit_card" label="Credit Card" color="#10b981" size="20px" />;
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.