{"id":34,"date":"2026-11-23T05:01:51","date_gmt":"2026-11-23T04:01:51","guid":{"rendered":"https:\/\/kernelpanic.xyz\/index.php\/projects\/athena-ui\/"},"modified":"2026-11-23T06:07:29","modified_gmt":"2026-11-23T05:07:29","slug":"athena-ui","status":"publish","type":"page","link":"https:\/\/kernelpanic.xyz\/index.php\/projects\/athena-ui\/","title":{"rendered":"Athena UI"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>A small, dependency-free UI framework for building browser-based applications.<\/strong> Athena UI provides the building blocks of a multipurpose interface \u2014 from forms and tables to charts, dialogs, navigation and themes \u2014 as JavaScript ES modules.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/github.com\/csabatibortoth\/athena-ui\">View on GitHub<\/a><\/div>\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.npmjs.com\/package\/athena-ui-js\">npm package<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">At a glance<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Package:<\/strong> <code>athena-ui-js<\/code><\/li>\n<li><strong>Current README version:<\/strong> 2.7.0<\/li>\n<li><strong>Technology:<\/strong> JavaScript ES modules<\/li>\n<li><strong>Dependencies:<\/strong> None at runtime<\/li>\n<li><strong>Languages:<\/strong> English and Hungarian, with support for custom translations<\/li>\n<li><strong>License:<\/strong> MIT<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What it provides<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Athena UI can generate a page layout with a header, menu, content wrapper and footer from a single <code>init()<\/code> call. For a more contained integration, <code>createApp()<\/code> builds the same kind of application shell inside an element on an existing page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Application components<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Forms:<\/strong> validated fields, text and number inputs, dates, selects, radio and checkbox groups, switches, autocomplete and multi-select.<\/li>\n<li><strong>Tables:<\/strong> sorting, filtering, pagination, row selection, inline editing, resizable columns, virtual scrolling, server-backed data and CSV export.<\/li>\n<li><strong>Charts:<\/strong> bar, line, area, sparkline, pie and donut charts, with tooltips, time axes, zoom, legends, tables of values and streaming updates.<\/li>\n<li><strong>Navigation:<\/strong> menus and nested menu groups, tabs, accordion, dropdown, sidebar, breadcrumbs, pagination and a hash\/history router.<\/li>\n<li><strong>Feedback and dialogs:<\/strong> alerts, toasts, progress indicators, spinners, confirmations, prompts and form dialogs.<\/li>\n<li><strong>Other building blocks:<\/strong> cards, grids, badges, avatars, KPI tiles, tooltips, file upload, drag-and-drop, stepper, date ranges and rich-text editing.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Themes, localization and accessibility<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Modern JavaScript, without runtime dependencies<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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 <code>window<\/code> 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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install and try it<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Install the package from npm:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>npm install athena-ui-js<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Import the full package or choose a component entry point:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import { init, generateTable } from \"athena-ui-js\";\nimport { generateTable } from \"athena-ui-js\/table\";<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The repository also contains a demo application with examples of tables, streaming charts, form fields, dialogs, menus, themes and sign-in flows. You can <a href=\"https:\/\/athena-ui-js-demo-duc7dncrfhg5fxfs.northeurope-01.azurewebsites.net\">try the live demo<\/a> or run the demo locally with <code>npm run demo<\/code>. The README notes that the hosted demo may need a few seconds to wake up after inactivity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Testing and development<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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 <code>npm test<\/code>, <code>npm run test:browser<\/code> and <code>npm run test:demo<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Known limitations<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The rich-text editor uses the deprecated <code>document.execCommand<\/code>. Content is sanitized in the browser, but the README recommends sanitizing it on the server too.<\/li>\n<li>The session cookie is readable from JavaScript and represents UI state, not a security boundary. Authentication must be enforced by the server.<\/li>\n<li>Virtual table rows currently need a fixed height and one line per cell.<\/li>\n<li>Some native dialog and popover behavior requires a modern browser. The README lists current browser support and fallback behavior for popovers.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Part of the Odin ecosystem<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Athena UI is also the browser interface toolkit used by <a href=\"https:\/\/github.com\/csabatibortoth\/odin-ns-manager\">Odin NS Manager<\/a>. Work on the manager has helped shape the framework&#8217;s forms, charts, tables and other components.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Source and license<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Athena UI is developed by Csaba T\u00f3th and is licensed under the MIT License.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/csabatibortoth\/athena-ui\">Browse the source code, documentation and releases on GitHub \u2192<\/a><\/p>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"\/index.php\/hu\/projektek\/athena-ui\/\">Magyar v\u00e1ltozat \u2192<\/a><\/p>\n\n<p class=\"wp-block-paragraph\"><a href=\"\/index.php\/hu\/projektek\/athena-ui-2\/\">Magyar v\u00e1ltozat \u2192<\/a><\/p>\n<p class=\"wp-block-paragraph\"><a href=\"\/index.php\/hu\/projektek\/athena-ui\/\">Magyar v\u00e1ltozat \u2192<\/a><\/p>\n<p class=\"wp-block-paragraph\"><a href=\"\/index.php\/athena-ui-hu\/\">Magyar v\u00e1ltozat \u2192<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>A small, dependency-free UI framework for building browser-based applications. Athena UI provides the building blocks of a multipurpose interface \u2014 from forms and tables to charts, dialogs, navigation and themes \u2014 as JavaScript ES modules. It began as a way to generate a consistent application layout and has grown into a modular UI toolkit. Its [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":8,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"footnotes":""},"class_list":["post-34","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":8,"url":"https:\/\/kernelpanic.xyz\/index.php\/projects\/","url_meta":{"origin":34,"position":0},"title":"Projects","author":"Csaba T\u00f3th","date":"November 10, 2026","format":false,"excerpt":"Projects A growing collection of software, experiments and technical projects \u2014 from small tools to larger systems. Each project page documents the problem, approach, tools and lessons learned. Projects Odin NS Manager A self-hosted DNS server and management platform with authoritative zones, forwarding, blocking, monitoring and a browser-based administration interface.\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":33,"url":"https:\/\/kernelpanic.xyz\/index.php\/projects\/odin-ns-manager\/","url_meta":{"origin":34,"position":1},"title":"Odin NS Manager","author":"Csaba T\u00f3th","date":"November 23, 2026","format":false,"excerpt":"A self-hosted DNS server and management platform that brings authoritative zones, DNS forwarding, blocking and monitoring together. Odin NS Manager runs the DNS server, management API, browser interface and DNS client side in one Node.js process, with zones and records stored in MongoDB and served from memory. The project is\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10,"url":"https:\/\/kernelpanic.xyz\/index.php\/projects\/sharp-commander\/","url_meta":{"origin":34,"position":2},"title":"Sharp Commander","author":"Csaba T\u00f3th","date":"November 10, 2026","format":false,"excerpt":"A two-panel file manager for Windows, built with C# and Windows Forms. Inspired by the classic workflow of Total Commander, Sharp Commander brings local folders and FTP locations into one practical workspace. What began as a school project has grown into a .NET 10 desktop application with support for local\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/Phr6xt-y","_links":{"self":[{"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/pages\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":6,"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/pages\/34\/revisions"}],"predecessor-version":[{"id":153,"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/pages\/34\/revisions\/153"}],"up":[{"embeddable":true,"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/pages\/8"}],"wp:attachment":[{"href":"https:\/\/kernelpanic.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}