Scan your whole stack
Are you using @xsolla/xui-divider?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.237.0
@xsolla/xui-divider was last scanned on 25 Nov 2026 at version 0.237.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.237.0 LATEST | 25 Nov 2026 | No rules fired |
| 0.236.0 | 25 Nov 2026 | No rules fired |
| 0.235.0 | 25 Nov 2026 | No rules fired |
| 0.234.0 | 23 Nov 2026 | Not shown |
| 0.233.0 | 20 Nov 2026 | Not shown |
Findings for v0.237.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.237.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A cross-platform React divider for separating content. Renders a horizontal line with an optional inline title and a dashed-stroke variant.
Divider is a line used to separate and group content within lists, menus, cards, or other containers. It can be plain or carry a short title that labels the group it introduces.
Type — Horizontal separates stacked content; Vertical separates side-by-side content.
Title position — Left, Right, or Center places the label on the line; N/A renders a plain line.
Dash stroke — False is a solid line, True is a dashed line.
The divider is display-only and holds no interaction.
Expose it as a separator so assistive technology understands the structural break.
When the divider carries a title, that title should name the group it introduces.
Don't rely on the line alone to convey grouping — use proper headings or structure where the grouping is meaningful.
Ensure the line and any title meet contrast minimums against the background.
npm install @xsolla/xui-divider
import { Divider } from "@xsolla/xui-divider";
import * as React from "react";
import { Divider } from "@xsolla/xui-divider";
export default function QuickStart() {
return (
<div>
<p>Section A</p>
<Divider />
<p>Section B</p>
</div>
);
}
<Divider>| Prop | Type | Default | Description |
|---|---|---|---|
testID |
string |
— | Test ID for testing frameworks. On web this renders as data-testid; on React Native it renders as testID. |
size |
"lg" \| "md" \| "sm" |
"md" |
Title font size and the track height needed to fit it. No visible effect without a title: a title-less divider is 1px at every size. |
title |
string |
— | Optional inline label. Rendered uppercase. |
titlePosition |
"left" \| "center" \| "right" |
"left" |
Where the title sits relative to the line(s). |
dashStroke |
boolean |
false |
Render a dashed line instead of solid. |
decorative |
boolean |
false |
When true, the divider is hidden from assistive technology (aria-hidden) and omits role="separator". |
Inherits ThemeOverrideProps (themeMode, themeProductContext).
A title-less divider is just the rule: 1px tall, at every size. Space it with layout spacing on the parent.
import * as React from "react";
import { Divider } from "@xsolla/xui-divider";
export default function DividerPlain() {
return (
<div
style={{ display: "flex", flexDirection: "column", gap: 24, width: 320 }}
>
<p>Section A</p>
<Divider />
<p>Section B</p>
</div>
);
}
size scales the title and the track that holds it, so it only has a visible effect when a title is set.
import * as React from "react";
import { Divider } from "@xsolla/xui-divider";
export default function DividerSizes() {
return (
<div
style={{ display: "flex", flexDirection: "column", gap: 24, width: 320 }}
>
<Divider size="sm" title="Small" />
<Divider size="md" title="Medium" />
<Divider size="lg" title="Large" />
</div>
);
}
import * as React from "react";
import { Divider } from "@xsolla/xui-divider";
export default function DividerWithTitle() {
return (
<div
style={{ display: "flex", flexDirection: "column", gap: 24, width: 320 }}
>
<Divider title="Section" titlePosition="left" />
<Divider title="Or" titlePosition="center" />
<Divider title="More" titlePosition="right" />
</div>
);
}
import * as React from "react";
import { Divider } from "@xsolla/xui-divider";
export default function DashedDivider() {
return (
<div style={{ width: 320 }}>
<Divider dashStroke />
</div>
);
}
import * as React from "react";
import { Divider } from "@xsolla/xui-divider";
export default function DecorativeDivider() {
return (
<div style={{ width: 320 }}>
<Divider decorative />
</div>
);
}
role="separator" so assistive tech announces a section break.decorative for purely visual lines; the divider then sets aria-hidden="true" and skips the separator role.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.