Athena UI

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

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

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

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 →

Magyar változat →

Magyar változat →

Magyar változat →

Magyar változat →