Scan your whole stack
From OX Research Newsroom
Are you using athena-ui-js?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.11.1
athena-ui-js was last scanned on 26 Nov 2026 at version 2.11.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.11.1 LATEST | 26 Nov 2026 | No rules fired |
| 2.11.0 | 26 Nov 2026 | No rules fired |
| 2.10.0 | 25 Nov 2026 | No rules fired |
| 2.9.0 | 25 Nov 2026 | Not shown |
| 2.8.2 | 25 Nov 2026 | Not shown |
Findings for v2.11.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 2.11.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A small, dependency-free UI framework written as ES modules. It ships the building blocks of a multipurpose application: forms, tables,
charts, dialogs, menus, a router and themes, a dashboard of widgets, a Kanban board, a code editor and more. Use single components from their own
entry points, or let one init() call generate the page layout (header, menu, content wrapper, footer) with its theme.
Current version: 2.11.1
Quick start · API · Components · Themes · Tests · Release notes
The exported API of src/athena-ui.js follows semantic versioning: breaking changes only come with a new major version.
Coming from 1.x? Read docs/migration-2.0.md (no jQuery, no globals, no hashing in the browser, native dialogs, CSS layer).
Known limits are listed below, so you can judge whether it fits your project:
document.execCommand. Content is sanitized in the browser, but sanitize it on the server too.virtual.rowHeight; the CSS variable --row-height follows); with wrap: true the text wraps at --athena-table-wrap-line-height and is clipped to that row.window unless you opt in with
athena-ui-js/classic. The older generators (generateLoginForm, the layout and the header / footer menu built from menuItems) are plain DOM too.data-mode="light" on <html> (or use createThemeManager) to choose.<dialog>, <details> and popover elements, so they need a browser that supports cascade layers and <dialog> (2022 or later). The dropdown menu and the tooltips are native popovers (the popover attribute) in browsers that have them (Chrome / Edge 114, Safari 17, Firefox 125), and a plain fallback in older ones.Data and layout
createWidgetGrid): move, resize, add from a gallery, lock, undo and redo, a layout per width, saved as JSON; mouse, touch and keyboardcreateBoard), JSON tree, cards, grid, badges, avatars, KPI tiles, facts, page header, empty and loading statesForms and input
Code
<script> and <style> in HTML and nested template strings), a code editor on a real <textarea>, a diff viewNavigation and feedback
Foundation
el, createSafeBuilder): text stays text, no event attributes, no inline style<dialog> and <details> elements and cascade layers (@layer, @import ... layer()): Chrome / Edge 99, Safari 15.4, Firefox 97 or laterfile://.npm install athena-ui-js
import { init, generateTable } from "athena-ui-js"; // everything
import { generateTable } from "athena-ui-js/table"; // or only what you use, so the rest is never downloaded
The entry points are table, chart, dialog, menu, navigation, forms, feedback, components, inputs, router, session, theme, i18n, format,
validation, motion, widgets, board, code, json-tree, sanitize, csv, dom and controls; besides them app (the page layout without the components),
classic (everything on window), testing (for your tests) and theme-boot.js. TypeScript definitions are included (types/, generated from the JSDoc with npm run types).
The package has "sideEffects" for classic.js, theme-boot.js and CSS only, so a bundler drops everything you do not import.
Without npm, serve the src folder with any static web server and open index.html to see the example.
Try it live: https://athena-ui-js-demo-duc7dncrfhg5fxfs.northeurope-01.azurewebsites.net (sign in with demo / demo-pass, or admin / admin-pass; the app sleeps when nobody visits, so the first request can take a few seconds).
demo/ is a demo and test application: tables with 100,000 rows from a server, a streaming chart, the widget dashboard, the board, the code editor, motion, every field type, native dialogs, a menu with groups inside groups, themes
and modes, and a real sign in, served by a small Node server (no dependencies) under a strict Content-Security-Policy.
npm run demo # http://localhost:3000
npm run test:demo # the server, the API and every page in a real browser
GitHub Actions tests it and deploys it to an Azure App Service: demo/README.md has the one-time set up.
<!-- jQuery is not needed -->
<script type="module">
import { init, clearWrapper, generateLoginForm } from "./athena-ui.js";
init({
theme: { id: 0 },
config: { header_title_text: "My App", login_enabled: true },
menuItems: {
headerMenu: [
{ id: "menu-home", class: "menu-item", text: "", inner_text: "Home" },
{ id: "menu-login", class: "menu-item", text: "", inner_text: "Login" }
],
footerMenu: []
},
nav: page => {
if (page === "Login") {
clearWrapper();
generateLoginForm();
}
},
login: ({ username, password }) => console.log(`${username} logged in`)
});
</script>
init() returns a Promise that resolves with the effective configuration once
the theme is loaded and the layout is generated.
init() builds the page layout into the body. createApp builds it into an element of your own page, so Athena UI can be one part of a larger one:
const app = await createApp({ root: "#my-section", config: { generateHeader: false, generateFooter: false } });
generateTable({ parent: "wrapper", /* ... */ }); // the wrapper of the app is the default parent
app.destroy();
It takes the options of init(). The header and footer follow the settings generateHeader and generateFooter. The parts have fixed ids, so use one app per page.
init, createApp, setTheme, config and loadScript are also in a small entry of their own: import { init } from "athena-ui-js/app" loads the layout and the theme and none of the components
(the root file athena-ui-js loads every module), so a page that picks its components from the other entry points downloads only those.
| Option | Description |
|---|---|
theme |
{ id } of a theme registered in res/themes/themes.js, or { href } of a custom stylesheet. Defaults to the default theme. |
config |
Settings overriding the defaults, see Configuration. |
menuItems |
{ headerMenu, footerMenu }, arrays of { id, class, text, inner_text }. Placeholder items are generated without it. |
nav |
Called without arguments when the wrapper is generated, and with the inner_text of the item on menu clicks. |
login |
Called with { username, password } when the login button is clicked and login_enabled is set. |
register |
Called with { username, email, password } when a valid registration form is submitted and registration_enabled is set. |
lostPassword |
Called with { email } when a valid lost password form is submitted and lost_password_enabled is set. |
changePassword |
Called with { currentPassword, newPassword } when a valid change password form is submitted and change_password_enabled is set. |
| Setting | Default | Description |
|---|---|---|
header_title_text |
"Athena UI" |
Title in the header |
header_img_url |
Header logo URL | |
copyright |
placeholder text | Footer text, the version is appended |
version |
the version of the package | Version shown in the footer |
bordered |
true |
Draw a border around the layout blocks |
generateHeader, generateFooter |
true |
Generate the header / footer block |
generateHeadercontent, generateFooterContent, generateWrappercontent |
true |
Generate the content of the block |
login_enabled |
false |
Call the login callback from the login form |
registration_enabled |
false |
Call the register callback from the registration form |
lost_password_enabled |
false |
Call the lostPassword callback from the lost password form |
change_password_enabled |
false |
Call the changePassword callback from the change password form |
login_remember_me |
false |
Show a "Remember me" checkbox in the login form, passed to login as remember |
locale |
"en" |
Language of the generated texts (en, hu, or your own, see Translations) |
session_cookie |
"athena_session" |
Name of the session cookie |
session_days |
7 |
Lifetime of a remembered session in days |
customLoader |
URL of an extra classic script, loaded before the layout is generated | |
container_class, header_class, header_menu_class, wrapper_class, footer_class, footer_menu_class, loginForm_class, registrationForm_class, lostPasswordForm_class, changePasswordForm_class |
CSS classes of the generated blocks |
Everything is exported from athena-ui.js:
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.