Installation
A3S UI can be installed directly from GitHub today. The package builds its distributable CSS, JavaScript, and templates during installation.
Package installation
Install the package
The registry name is @a3s-lab/ui; use npm install @a3s-lab/ui after the first registry release.
Import Tailwind and A3S UI
The default export includes base tokens, every component, and the A3S style pack. Load it after Tailwind so a later preflight does not reset component boundaries or controls.
Load interactive components
Most components are CSS-only. Import the complete runtime when the application uses menus, select, tabs, split panes, or other interactive composites.
Or import the runtime once and only the controllers you use.
Use semantic markup
CSS imports
Split imports
Use split imports when application CSS already owns its dependency graph.
JavaScript imports
The public runtime namespace is window.a3sUI. It initializes registered components on page load and observes newly inserted DOM.
Server-rendered templates
Optional Nunjucks and Jinja templates ship with the package.
See Templates for macro parameters.
Icons
Icons are deliberately not bundled. Documentation examples use inline Lucide-compatible SVG, but applications may use any icon system. Icon-only controls always need an accessible name.