Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@xsolla/xui-b2b-accordion

Latest version: v0.240.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: admins-xsolla
55 Versions
8.6K Downloads

Scan summary

@xsolla/xui-b2b-accordion was last scanned on 30 Nov 2026 at version 0.240.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 55 versions; the latest 5 were published within 6 days (25–30 Nov 2026).
  • Findings: No rules fired in version 0.240.0.
  • Downloads: 8,589 downloads.

Versions

55 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.240.0 LATEST 30 Nov 2026 No rules fired
0.239.0 29 Nov 2026 No rules fired
0.238.0 25 Nov 2026 No rules fired
0.237.0 25 Nov 2026 Not shown
0.236.0 25 Nov 2026 Not shown

No rules fired in 0.240.0

Findings

Findings for v0.240.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.240.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Accordion

A stacked list of Collapsible items with coordinated open/close behaviour. By default only one item can be open at a time; pass multiple to allow several open simultaneously.

For a single standalone expandable section, use @xsolla/xui-b2b-collapsible.

Installation

npm install @xsolla/xui-b2b-accordion

@xsolla/xui-b2b-collapsible is a peer dependency and is installed automatically.

Imports

import {
  Accordion,
  type AccordionItem,
  type AccordionProps,
} from "@xsolla/xui-b2b-accordion";

Quick start

import { Accordion, type AccordionItem } from "@xsolla/xui-b2b-accordion";

const items: AccordionItem[] = [
  {
    key: "what",
    title: "What is Xsolla?",
    content: <p>Global video game commerce.</p>,
  },
  {
    key: "sdk",
    title: "How do I integrate the SDK?",
    content: <p>Follow the integration guide.</p>,
  },
];

<Accordion items={items} defaultOpenKeys={["what"]} />;

API Reference

<Accordion>
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.
items AccordionItem[] — Required. Array of item definitions.
multiple boolean false Allow more than one item open simultaneously.
defaultOpenKeys string[] [] Keys open on first render (uncontrolled).
openKeys string[] — Controlled open keys.
onOpenChange (keys: string[]) => void — Called when open keys change.
className string — CSS class applied to the root wrapper.

Inherits ThemeOverrideProps (themeMode, themeProductContext).

AccordionItem
Field Type Description
key string Required. Unique identifier used for open/close tracking.
title ReactNode Required. Title text or node in the trigger row.
content ReactNode Required. Body content shown when expanded.
caption ReactNode Secondary text below the title.
icon ReactNode Optional 32×32 left slot. Wrap with IconWrapper, or pass a Checkbox for selection-style accordions. Click events on this slot are stopped before they reach the trigger.
trailing ReactNode Content to the right of the text, before the chevron (e.g. Status).

Examples

Setup guide pattern
import { Accordion, type AccordionItem } from "@xsolla/xui-b2b-accordion";
import { Status } from "@xsolla/xui-status";

const items: AccordionItem[] = [
  {
    key: "template",
    title: "Create and review the template of your game store page",
    trailing: (
      <Status palette="success" size="md" labelType="dot-color">
        Done
      </Status>
    ),
    content: <p>Content here.</p>,
  },
  {
    key: "tips",
    title: "See tips and tricks for your game store",
    trailing: (
      <Status palette="warning" size="md" labelType="dot-color">
        In progress
      </Status>
    ),
    content: <p>Content here.</p>,
  },
  {
    key: "keys",
    title: "Set up game keys to sell on your game store page",
    trailing: (
      <Status palette="default" size="md" labelType="dot-color">
        Pending
      </Status>
    ),
    content: <p>Content here.</p>,
  },
];

<Accordion items={items} defaultOpenKeys={["template"]} />;
With checkbox left slot
import { useState } from "react";
import { Accordion, type AccordionItem } from "@xsolla/xui-b2b-accordion";
import { Checkbox } from "@xsolla/xui-checkbox";

function Selectable() {
  const [done, setDone] = useState<Record<string, boolean>>({});
  const make = (key: string, title: string): AccordionItem => ({
    key,
    title,
    icon: (
      <Checkbox
        size="md"
        checked={!!done[key]}
        onChange={(e) => setDone((d) => ({ ...d, [key]: e.target.checked }))}
      />
    ),
    content: <p>Step body.</p>,
  });

  return (
    <Accordion
      items={[
        make("one", "Connect your store"),
        make("two", "Add at least one product"),
        make("three", "Publish"),
      ]}
    />
  );
}
Multiple open
<Accordion items={items} multiple defaultOpenKeys={["what", "sdk"]} />
Controlled
import { useState } from "react";

function ControlledAccordion({ items }) {
  const [openKeys, setOpenKeys] = useState<string[]>(["what"]);
  return (
    <Accordion
      items={items}
      multiple
      openKeys={openKeys}
      onOpenChange={setOpenKeys}
    />
  );
}

Accessibility

  • Each item's trigger inherits Collapsible's role="button", tabIndex={0}, and aria-expanded semantics.
  • Triggers respond to Enter and Space; the icon and trailing slots stop click propagation so interactive elements inside them (checkboxes, buttons) do not toggle the panel.
  • Panel content is always in the DOM (hidden via grid-template-rows: 0fr) so screen readers can reach it.

Behaviour

  • All items render as Collapsible with view="white-surface".
  • In single mode (default), opening an item closes the others; in multiple mode, items toggle independently.
  • Controlled mode (openKeys + onOpenChange) overrides internal state.

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @xsolla/xui-b2b-accordion

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229