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

@editora/ui-react

Latest version: v0.8.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: ajaykr089
3 Stars
0 Forks
19 Versions
1.6K Downloads
TypeScript Repo language

Scan summary

@editora/ui-react was last scanned on 28 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 19 versions; the latest 2 were published within 2 days (27 and 28 Nov 2026).
  • Findings: No rules fired in version 0.8.0.
  • Downloads: 1,565 downloads.

Versions

19 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.0 LATEST 28 Nov 2026 No rules fired
0.7.0 27 Nov 2026 No rules fired
0.6.1 21 Nov 2026 No rules fired
0.6.0 18 Nov 2026 Not shown
0.5.0 17 Nov 2026 Not shown

No rules fired in 0.8.0

Findings

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

README

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

Features

  • A broad catalog: inputs and forms, pickers, tables, tabs, menus, dialogs, drawers, charts, a calendar and a Gantt planner. The full list.
  • Typed props and events. Callbacks receive a typed detail, not a raw DOM event.
  • Forms that validate: <Form> collects the values of the controls inside it, and useForm() drives it.
  • Promise dialogs: await dialog.confirm({...}), with providers that work in React StrictMode.
  • Theming with design tokens, persisted if you want.
  • Floating layers: hooks for popovers, menus and tooltips with flip, shift and focus management.
  • Wrappers for @editora/ui-core, so the components are standard custom elements underneath.

What's new

0.6.0

  • A bundler keeps only the components you import, from the package root too: import { Button } from '@editora/ui-react' went from about 590 KB to 10.5 KB gzipped (Vite, React left out), the same as @editora/ui-react/Button.
  • Breaking: importing from this package no longer registers every @editora/ui-core element. If you write raw <ui-…> tags yourself, import their entries (@editora/ui-core/progress) or @editora/ui-core once. A console warning names any unregistered tag on the page.

0.3.0 (2026-11-07)

  • Form takes errors to show errors from a server response on their fields, and focuses the first one.
  • DataTable for server-driven screens: serverSide with totalRows, hiddenColumns, and rows with data-href that open as links.
  • FiltersBar date range with presets (dateRange, dateRangePresets, commonDateRangePresets).
  • Charts include their data as a table for screen readers; showTable shows it on screen.
  • Fixes: a pager placed after its DataTable now pages it, a file's Retry button retries only that file, focus stays on the first field with an error, and Switch toggles on element.click() and assistive-technology activation.

0.2.0 (2026-11-07)

  • Behaviour change: Input and Textarea onChange fires on every keystroke, like React's <input>. The old "on blur or Enter" event is the new onCommit prop. defaultValue is new on Input, Textarea, NumberField and Combobox.
  • Behaviour change: form fields are form-associated, so an empty required field now blocks a native form submit (add novalidate to validate in JavaScript), and Enter in a text field submits its form.
  • Controlled props (value, checked, open, selected, page, ...) win when you pass a change handler.
  • <NavigationProvider navigate={(href) => router.push(href)}> routes Sidebar, Breadcrumb, Tabs and Pagination links through your router.
  • Layout variant="shell" app frame with an off-canvas sidebar on narrow screens; ThemeProvider density; Card.Actions, EmptyState variant="plain", Alert live={false}, descriptionPosition="below".
  • <EditoraPreloadStyle /> stops server-rendered pages from jumping while the components load.
  • Built-in icons load on first use, so a Button costs 8.9 KB gzipped instead of 55.9 KB.
  • Fixes: events bubbling from a child no longer trigger a parent's onChange/onClose (a checkbox in a tab panel closed the panel), the first render has every prop applied, Select shows its placeholder for value="", focus traps in Dialog and Drawer reach the fields inside them, and missing numeric attributes keep their defaults (toasts showed 1 at a time, tooltips opened with no delay).

Every change, with details: CHANGELOG.md and GitHub Releases.

Install

npm install @editora/ui-react

@editora/ui-core comes with the package. It is tested with React 18 and 19 (the peer range is React 16.8 to 20). These components render custom elements, which are defined in the browser only: see Server rendering.

Quick start

import { Button, Input, ThemeProvider } from '@editora/ui-react';

export default function App() {
  return (
    <ThemeProvider>
      <div style={{ display: 'grid', gap: 12, maxWidth: 360 }}>
        <Input name="title" label="Title" placeholder="Untitled" clearable />
        <Button variant="primary">Save</Button>
      </div>
    </ThemeProvider>
  );
}

The picture at the top of this page is made of these components:

import { Alert, Avatar, Badge, Button, Checkbox, DatePicker, Input, Progress, Switch } from '@editora/ui-react';

export default function Gallery() {
  return (
    <div style={{ display: 'grid', gridTemplateColumns: '1fr 1fr', gap: 24, alignItems: 'start' }}>
      <div style={{ display: 'grid', gap: 16 }}>
        <Input label="Project name" description="Shown in the sidebar" placeholder="Untitled" clearable />

        <div style={{ display: 'flex', gap: 8, flexWrap: 'wrap' }}>
          <Button variant="primary">Save</Button>
          <Button variant="secondary">Cancel</Button>
          <Button variant="ghost">Skip</Button>
          <Button variant="danger">Delete</Button>
        </div>

        <div style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
          <Badge tone="success" text="Live" />
          <Badge tone="warning" text="Review" />
          <Badge tone="danger" text="Failed" />
          <Avatar initials="AM" />
          <Avatar initials="JK" />
        </div>

        <Alert title="Heads up" description="Your trial ends in 3 days." tone="warning" />
      </div>

      <div style={{ display: 'grid', gap: 16 }}>
        <Switch checked label="Email notifications" description="A summary every Monday" />
        <Checkbox checked>Remember me</Checkbox>
        <Progress value={64} />
        <DatePicker label="Start date" clearable />
      </div>
    </div>
  );
}

Import from the package or from one component

Import from the package root or from a component's own entry: a bundler keeps only the components you use either way. Each component registers the custom elements it renders, and the package declares no side effects, so the ones you do not import are dropped.

// From the package root.
import { Button, Input } from '@editora/ui-react';
// Or from one component's own entry, which costs the same.
import ButtonOnly from '@editora/ui-react/Button';
import InputOnly from '@editora/ui-react/Input';

export default function Imports() {
  return (
    <div style={{ display: 'grid', gap: 12, maxWidth: 360 }}>
      <Input label="From the root" />
      <InputOnly label="From its own entry" />
      <Button>Root</Button>
      <ButtonOnly>Own entry</ButtonOnly>
    </div>
  );
}

Measured with a Vite production build, React left out: what the page loads up front, and what loads later only if it is needed (the icon catalog, the first time an icon is drawn).

Import Up front, gzipped Later, if needed
import { Button } from '@editora/ui-react' 10.5 KB 50 KB
import Button from '@editora/ui-react/Button' 10.5 KB 50 KB
import { Input } from '@editora/ui-react' 10.8 KB none
import { DataTable } from '@editora/ui-react' 17.8 KB none
Button, Input, Checkbox, Dialog and DataTable from the root 47.7 KB 50 KB

Every page also fetches a 0.4 KB check three seconds after the first render (see the note below).

Writing <ui-…> tags yourself? A component registers only the elements it renders, so a raw tag in your own JSX or HTML (<ui-progress value="40">) needs its element registered: import @editora/ui-core/progress, or @editora/ui-core once to register every element. Until then the tag renders as an empty unknown element, and the page logs a warning that names it: that check is the 0.4 KB fetched three seconds after the first render. Before 0.6.0 any import from this package registered every element, about 600 KB gzipped.

Forms

<Form> finds the named controls inside it. useForm() gives you its methods; onDirtyChange tells you when the values differ from the starting ones:

import { useState } from 'react';
import { Form, Field, Input, Button, useForm } from '@editora/ui-react';

export default function ProfileForm() {
  const { ref, submit, validate, getValues, reset } = useForm();
  const [dirty, setDirty] = useState(false);

  return (
    <Form
      ref={ref}
      autosave
      guardUnsaved
      onSubmit={(values) => console.log('submit', values)}
      onInvalid={(errors) => console.log('invalid', errors)}
      onDirtyChange={(isDirty) => setDirty(isDirty)}
      style={{ display: 'grid', gap: 12, maxWidth: 520 }}
    >
      <Field label="Full name" required>
        <Input name="fullName" required />
      </Field>

      <Field label="Email" required>
        <Input name="email" type="email" required />
      </Field>

      <div style={{ display: 'flex', gap: 8 }}>
        <Button variant="secondary" onClick={() => validate()}>Validate</Button>
        <Button variant="secondary" onClick={() => console.log(getValues())}>Values</Button>
        <Button variant="secondary" onClick={() => reset()}>Reset</Button>
        <Button onClick={() => submit()} disabled={!dirty}>Submit</Button>
      </div>
    </Form>
  );
}

useForm() returns ref, submit(), validate(), getValues(), reset(values?), isDirty() and markClean(). autosave reports the values through onAutosave after they stop changing, and guardUnsaved warns before the page is left with unsaved changes.

Promise dialogs

Wrap your app in the providers, then await the answer from anywhere inside:

import { DialogProvider, useDialog, AlertDialogProvider, useAlertDialog, Button } from '@editora/ui-react';

function Actions() {
  const dialog = useDialog();
  const alerts = useAlertDialog();

  return (
    <div style={{ display: 'flex', gap: 8 }}>
      <Button
        onClick={async () => {
          const res = await dialog.confirm({
            title: 'Archive project?',
            description: 'You can restore it later.',
            submitText: 'Archive'
          });
          console.log(res);
        }}
      >
        Confirm
      </Button>

      <Button
        variant="secondary"
        onClick={async () => {
          const res = await alerts.prompt({
            title: 'Rename',
            input: { required: true, placeholder: 'New name' }
          });
          console.log(res);
        }}
      >
        Prompt
      </Button>
    </div>
  );
}

export default function DialogExample() {
  return (
    <DialogProvider>
      <AlertDialogProvider>
        <Actions />
      </AlertDialogProvider>
    </DialogProvider>
  );
}

useDialog() has open() and confirm(). useAlertDialog() is for confirmations and prompts that need an answer. Both resolve with an object whose action says what the user did. The providers work in StrictMode.

Data tables

DataTable gives a table sorting, selection, column resizing and paging. Link a Pagination to it with paginationId:

import { DataTable, Pagination } from '@editora/ui-react';
import { useState } from 'react';

export default function UsersTable() {
  const [page, setPage] = useState(1);

  return (
    <div style={{ display: 'grid', gap: 10 }}>
      <DataTable
        sortable
        selectable
        resizableColumns
        draggableColumns
        page={page}
        pageSize={2}
        paginationId="users-pager"
        onPageChange={(d) => setPage(d.page)}
        onSortChange={(d) => console.log('sort', d)}
        onRowSelect={(d) => console.log('rows', d.indices)}
      >
        <table>
          <thead>
            <tr>
              <th data-key="id">ID</th>
              <th data-key="name">Name</th>
              <th data-key="role">Role</th>
            </tr>
          </thead>
          <tbody>
            <tr><td>1</td><td>Asha</td><td>Admin</td></tr>
            <tr><td>2</td><td>Marco</td><td>Editor</td></tr>
            <tr><td>3</td><td>Lena</td><td>Viewer</td></tr>
            <tr><td>4</td><td>Tariq</td><td>Editor</td></tr>
          </tbody>
        </table>
      </DataTable>

      <Pagination id="users-pager" page={page} />
    </div>
  );
}

Pickers

import { DatePicker, DateRangePicker, DateTimePicker, ColorPicker } from '@editora/ui-react';

export default function PickersDemo() {
  return (
    <div style={{ display: 'grid', gap: 12, maxWidth: 420 }}>
      <DatePicker label="Start date" clearable onValueChange={(v) => console.log(v)} />
      <DateRangePicker label="Window" closeOnSelect />
      <DateTimePicker label="Publish at" />
      <ColorPicker mode="popover" format="hex" alpha presets={['#2563eb', '#16a34a', '#dc2626']} />
    </div>
  );
}

Theming

ThemeProvider applies the design tokens of @editora/ui-core as CSS variables. With storageKey it remembers the theme in localStorage:

import { Button, ThemeProvider } from '@editora/ui-react';

export default function Themed() {
  return (
    <ThemeProvider
      tokens={{
        colors: { primary: '#0f766e', text: '#0f172a', background: '#ffffff' },
        radius: '10px'
      }}
      storageKey="my-app.theme"
    >
      <Button variant="primary">Save</Button>
    </ThemeProvider>
  );
}

Gantt planner

Gantt is a planning timeline: tasks, summary rows and milestones, dependencies, baselines, critical tasks, drag and resize, keyboard selection and a toolbar for zoom, filter and sort.

import { Gantt, type GanttLink, type GanttTask } from '@editora/ui-react';
import { useState } from 'react';

const initialTasks: GanttTask[] = [
  {
    id: 'foundation',
    label: 'Foundation',
    start: '2026-02-01',
    end: '2026-02-18',
    progress: 68,
    baselineStart: '2026-01-29',
    baselineEnd: '2026-02-14',
    critical: true
  },
  {
    id: 'handoff',
    label: 'Handoff milestone',
    start: '2026-02-20',
    type: 'milestone',
    tone: 'success'
  }
];

const links: GanttLink[] = [
  { id: 'foundation-handoff', source: 'foundation', target: 'handoff', type: 'e2s' }
];

export default function PlanningDemo() {
  const [tasks, setTasks] = useState(initialTasks);

  return (
    <Gantt
      tasks={tasks}
      links={links}
      zoom="week"
      sort="start"
      barVariant="soft"
      onTaskChange={({ id, start, end }) => {
        setTasks((items) => items.map((task) => task.id === id ? { ...task, start: start ?? task.start, end: end ?? task.end } : task));
      }}
      onTaskDelete={({ id }) => setTasks((items) => items.filter((task) => task.id !== id))}
      onLinkSelect={(detail) => console.log('dependency selected', detail)}
    />
  );
}

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 @editora/ui-react

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

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

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229