Scan your whole stack
From OX Research Newsroom
Are you using @rolster/react-components?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v19.21.1
@rolster/react-components was last scanned on 30 Nov 2026 at version 19.21.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 19.21.1 LATEST | 30 Nov 2026 | No rules fired |
| 19.21.0 | 25 Nov 2026 | No rules fired |
| 19.20.0 | 22 Nov 2026 | No rules fired |
| 19.19.0 | 17 Nov 2026 | Not shown |
| 19.18.1 | 13 Nov 2026 | Not shown |
Findings for v19.21.1. 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 19.21.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Package containing UI components for React Project.
npm i @rolster/react-components
You must install the @rolster/types package to define package data types, which are configured by adding them to the files property of the tsconfig.json file.
{
"files": ["node_modules/@rolster/types/index.d.ts"]
}
react and react-dom are supplied by the host application. The package.json declares react-dom as a dependency, and @types/react and @types/react-dom as development dependencies; react is not declared in any of them, so the application is the one that installs it.
The components render classes only, they do not ship styles. Those classes are defined in @rolster/styles-foundations, which must be installed and imported by the application.
npm i @rolster/styles-foundations
The package exposes the following entry points, each one available as Sass (@use) and as compiled CSS:
| Entry point | Content |
|---|---|
@rolster/styles-foundations |
Foundations and utilities: custom properties, typography, grid, fonts |
@rolster/styles-foundations/components |
Structure of every component, without a design system |
@rolster/styles-foundations/design-system-bordered |
Bordered design system |
@rolster/styles-foundations/design-system-filled |
Filled design system |
@rolster/styles-foundations/design-system-gradient |
Gradient design system |
@rolster/styles-foundations/design-system-rome |
Rome design system |
@use '@rolster/styles-foundations';
@use '@rolster/styles-foundations/components';
@use '@rolster/styles-foundations/design-system-filled';
@use '@rolster/styles-foundations/design-system-bordered';
Every design system is nested inside its own wrapper class (.rls-design-system-bordered, .rls-design-system-filled, .rls-design-system-gradient, .rls-design-system-rome), so its rules only reach the elements below an element carrying that class. setDesignSystem writes that class on document.body and removes the remaining ones, which allows importing more than one design system and switching between them at runtime.
RlsApplication must wrap the application. It renders its children inside the rls-app-body element and mounts the snackbar, the confirmation dialog and the notification stack, so all of them are available anywhere in the tree. It publishes a context, read with useRlsContext, that exposes:
| Member | Description |
|---|---|
confirmation |
Opens the confirmation dialog and resolves with a ConfirmationResult |
notify |
Pushes a notification on the stack |
snackbar |
Shows a snackbar |
setIsMobile |
Marks the application body as mobile |
setNavbarInApp |
Declares that a navbar is mounted, so the snackbar respects it |
setNavbarIsCondense |
Declares that the navbar is condensed |
Reading the context outside the wrapper throws an error.
import { RlsApplication, setDesignSystem } from '@rolster/react-components';
import { createRoot } from 'react-dom/client';
import { Dashboard } from './Dashboard';
import './styles.scss';
setDesignSystem('filled');
createRoot(document.getElementById('root')!).render(
<RlsApplication>
<Dashboard />
</RlsApplication>
);
Field components are driven by @rolster/react-forms: the formControl prop takes a ReactControl created with useInputControl or useFormControl, and the field renders the error of the control through RlsMessageFormError. Those messages are translated with @rolster/i18n and can be extended with setErrorsI18n.
RlsInput, RlsAreaText and the fields built over them honour the formatter and formatOn options of the control. While the user types (or pastes) they apply the formatter before writing the value, keep the caret in place when the text length changes, revert characters the formatter rejects even when the control value does not change, and wait for the end of an IME composition before formatting. With formatOn: 'blur' the raw text is kept until the field loses focus and the control formats it.
const name = useInputControl({
value: '',
formatter: (value: string) => value.toUpperCase()
});
<RlsFieldText formControl={name}>Nombre completo</RlsFieldText>;
Components that display a list of options (RlsFieldSelect, RlsFieldList, RlsFieldAutocomplete and the RlsChooser* family) receive their suggestions as elements of @rolster/components, usually instances of RolsterListElement or RolsterAutocompleteElement, or of a subclass that overrides title, description and compareTo.
| Component | Description |
|---|---|
RlsAmount |
Currency value split into integer and decimal tabular text, with an optional symbol |
RlsAreaText |
textarea that grows between minRows and maxRows and syncs with a control |
RlsAvatar |
Container for an image, initials or icon, with contrasted, rounded and skeleton variants |
RlsBadge |
Inline badge, contrasted when requested |
RlsBreadcrumb |
Row of labels, each one actionable when it declares onClick |
RlsButton |
Button of type ghost, flat or raised, with icons and a spinner while requesting |
RlsButtonAction |
Icon button with optional badge and tooltip |
RlsButtonIcon |
Icon button without decoration, with skeleton state |
RlsButtonOption |
Icon button that behaves as one option of a single selection over a control |
RlsCheckBox |
Checkbox mark driven by the checked prop |
RlsCheckBoxControl |
RlsCheckBox bound to a boolean control |
RlsChip |
Compact label with optional icon, remove button and clickable state |
RlsHoverSwap |
Renders children and swaps it for content while the pointer is over it |
RlsIcon |
Renders the glyph rls-icon-{value}, with skeleton state |
RlsImage |
img that shows a skeleton until the source finishes loading |
RlsInput |
Base input that syncs value, focus and disabled with a control |
RlsInputCounter |
Number input with decrement and increment buttons, clamped by min, max and step |
RlsInputDecimal |
Number input for BigDecimal values that overlays the formatted amount |
RlsInputMoney |
Number input that overlays the value formatted as currency |
RlsInputNumber |
Number input that overlays the current value |
RlsInputPassword |
Input whose type switches between password and text |
RlsInputPercentage |
Number input that overlays the value followed by % |
RlsInputSearch |
Text input with a search action button |
RlsInputText |
Text input that overlays the current value |
RlsLabel |
Text label |
RlsLed |
Indicator whose background is set from a hexadecimal color |
RlsMessageIcon |
Icon followed by a truncated message |
RlsPoster |
Highlighted block of content, contrasted when requested |
RlsProgressBar |
Progress bar by percentage or indeterminate |
RlsProgressCircular |
Circular progress indicator drawn in SVG |
RlsRadioButton |
Radio mark driven by the checked prop |
RlsSkeleton |
Placeholder block while content is loading |
RlsSkeletonText |
Renders children, or a skeleton while active |
RlsSpinner |
Loading spinner drawn in SVG |
RlsSwitch |
Switch driven by the checked prop, with capsule variant |
RlsSwitchControl |
RlsSwitch bound to a boolean control |
RlsTabularText |
Renders each character in its own span, so digits keep a fixed width |
import { RlsButton, RlsIcon, RlsPoster } from '@rolster/react-components';
function Header({ requesting, onSave }: HeaderProps) {
return (
<div className="header">
<RlsPoster rlsTheme="info">
<RlsIcon value="person" />
</RlsPoster>
<RlsButton
type="raised"
rlsTheme="success"
prefixIcon="checkmark"
requesting={requesting}
onClick={onSave}
>
Save
</RlsButton>
</div>
);
}
| Component | Description |
|---|---|
RlsAccordion |
Collapsible section with title and indicator, animated on the height of its content |
RlsAlert |
Message block with optional icon and bordered variant |
RlsAppBody |
Body container of an application page |
RlsAppContent |
Content container of an application page |
RlsAppNavbar |
Navigation bar of an application page, with backdrop |
RlsAppNavbarBody |
Spacing block for the content of a navigation bar |
RlsAppNavbarMenu |
List of navigation options with icon and label; activeId marks the active one |
RlsAppPage |
Page of an application: holds the navbar and the body |
RlsAppThemeTabs |
Tab bar with the application themes that writes the selected one on the body |
RlsAppToolbar |
Toolbar fixed at the top of an application page |
RlsBallot |
Avatar, title and subtitle row, with skeleton state |
RlsButtonProgress |
Action button surrounded by a circular progress while progressing |
RlsButtonStepper |
Pair of buttons that emit a down and an up action |
RlsButtonToggle |
Action button with a second button that opens the list of options |
RlsChipGroup |
Group of chips that behaves as a single selection over a list of values |
RlsFieldArea |
Labelled field over RlsAreaText, with an optional counter and its error message |
RlsFieldDecimal |
Labelled field over RlsInputDecimal with its error message |
RlsFieldFile |
Labelled field that opens a file selector and shows the name of the chosen file |
RlsFieldListSuggestions |
Suggestion list rendered in a portal, with optional search input, action and empty state |
RlsFieldMoney |
Labelled field over RlsInputMoney with its error message |
RlsFieldNumber |
Labelled field over RlsInputNumber with its error message |
RlsFieldPassword |
Labelled field over RlsInputPassword with a button that reveals the value |
RlsFieldPercentage |
Labelled field over RlsInputPercentage with its error message |
RlsFieldReadonly |
Labelled field that displays a value in a read only input |
RlsFieldText |
Labelled field over RlsInputText with its error message |
RlsLabelCheckBox |
Checkbox and text that toggle a boolean control |
RlsLabelRadioButton |
Radio and text that assign their value to a control |
RlsLabelSwitch |
Switch and text that toggle a boolean control |
RlsMessageEmpty |
Empty state with icon, emoji or image, title and content |
RlsMessageFormError |
Renders the translated error of a control while it is wrong |
RlsPagination |
Paginator over a collection that emits a PaginationEvent on every page |
RlsPickerDay |
Grid of the days of a month, restricted by minDate and maxDate |
RlsPickerDayRange |
Grid of the days of a month that highlights the selected range |
RlsPickerMonth |
Grid of the months of a year |
RlsPickerSelectorTitle |
Header with month and year, and buttons for previous and next |
RlsPickerYear |
Grid of years with navigation by decade |
RlsSlider |
Value selector over a track, operated with pointer and keyboard |
RlsTabs |
Tab bar that assigns the value of the selected tab to a control |
RlsToolbar |
Title, subtitle and list of actions |
import { RlsFieldText, RlsLabelSwitch } from '@rolster/react-components';
import { useInputControl } from '@rolster/react-forms';
import { email, required } from '@rolster/validators/helpers';
function Account() {
const emailControl = useInputControl<string>('', [required, email]);
const notifyControl = useInputControl(true);
return (
<div className="account">
<RlsFieldText formControl={emailControl} placeholder="name@rolster.com">
Email
</RlsFieldText>
<RlsLabelSwitch formControl={notifyControl}>
Receive notifications by email
</RlsLabelSwitch>
</div>
);
}
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.