A small, dependency-free UI framework for building browser-based applications. Athena UI provides the building blocks of a multipurpose interface — from forms and tables to charts, dialogs, navigation and themes — as JavaScript ES modules.
It began as a way to generate a consistent application layout and has grown into a modular UI toolkit. Its design focuses on reusable components, native browser capabilities, accessibility and keeping the runtime lean.
At a glance
- Package:
athena-ui-js - Current README version: 2.7.0
- Technology: JavaScript ES modules
- Dependencies: None at runtime
- Languages: English and Hungarian, with support for custom translations
- License: MIT
What it provides
Athena UI can generate a page layout with a header, menu, content wrapper and footer from a single init() call. For a more contained integration, createApp() builds the same kind of application shell inside an element on an existing page.
Application components
- Forms: validated fields, text and number inputs, dates, selects, radio and checkbox groups, switches, autocomplete and multi-select.
- Tables: sorting, filtering, pagination, row selection, inline editing, resizable columns, virtual scrolling, server-backed data and CSV export.
- Charts: bar, line, area, sparkline, pie and donut charts, with tooltips, time axes, zoom, legends, tables of values and streaming updates.
- Navigation: menus and nested menu groups, tabs, accordion, dropdown, sidebar, breadcrumbs, pagination and a hash/history router.
- Feedback and dialogs: alerts, toasts, progress indicators, spinners, confirmations, prompts and form dialogs.
- Other building blocks: cards, grids, badges, avatars, KPI tiles, tooltips, file upload, drag-and-drop, stepper, date ranges and rich-text editing.
Themes, localization and accessibility
The theme system supports light and dark modes, following the operating system by default, with a theme manager and picker for runtime changes. English and Hungarian translations are included, and the localization system can be extended with additional messages.
The project documents keyboard and ARIA support, responsive layouts and native browser elements for dialogs, accordions and popovers. Its DOM helpers are designed to insert data as text rather than interpreting it as markup, and the browser tests run under a strict Content Security Policy.
Modern JavaScript, without runtime dependencies
Athena UI is written as ES modules and has no required runtime dependencies. It does not require jQuery, does not load extra libraries at runtime and does not add globals to window unless the optional classic entry point is used. Individual components have their own package entry points, allowing an application to import only the pieces it needs. TypeScript definitions are included.
Install and try it
Install the package from npm:
npm install athena-ui-js
Import the full package or choose a component entry point:
import { init, generateTable } from "athena-ui-js";
import { generateTable } from "athena-ui-js/table";
The repository also contains a demo application with examples of tables, streaming charts, form fields, dialogs, menus, themes and sign-in flows. You can try the live demo or run the demo locally with npm run demo. The README notes that the hosted demo may need a few seconds to wake up after inactivity.
Testing and development
The project includes unit tests and browser-based tests, as well as a demo test suite that exercises the application in a real browser. GitHub Actions runs the checks and deploys the demo. The README documents commands including npm test, npm run test:browser and npm run test:demo.
Known limitations
- The rich-text editor uses the deprecated
document.execCommand. Content is sanitized in the browser, but the README recommends sanitizing it on the server too. - The session cookie is readable from JavaScript and represents UI state, not a security boundary. Authentication must be enforced by the server.
- Virtual table rows currently need a fixed height and one line per cell.
- Some native dialog and popover behavior requires a modern browser. The README lists current browser support and fallback behavior for popovers.
Part of the Odin ecosystem
Athena UI is also the browser interface toolkit used by Odin NS Manager. Work on the manager has helped shape the framework’s forms, charts, tables and other components.
Source and license
Athena UI is developed by Csaba Tóth and is licensed under the MIT License.
Browse the source code, documentation and releases on GitHub →