How wangshai123/vanilla-jui works
Vanilla-JUI is a framework-agnostic browser UI library. A page author uses its API to create interactive components and primitives, which render and respond to DOM events; the library also provides reactive, motion, theme, and utility infrastructure. The README documents fine-grained reactivity, composable components, customizable styling, and multi-dimensional themes. Source evidence is partial: the graph shows relationships supported by excerpts or the SOURCE INDEX and omits uncertain wiring, including exact exports for unsampled modules.
Main entry points: index.ts Library Entry · accordion.ts Accordion · form.ts Form · modal.ts Modal
Components 34
Library API
- Library Entry
src/index.ts
UI Components
- Accordion
src/components/accordion.ts - Flow
src/components/flow.ts - Form
src/components/form.ts - Menu
src/components/menu.ts - Modal
src/components/modal.ts - Offcanvas
src/components/offcanvas.ts - Pagination
src/components/pagination.ts - Swiper
src/components/swiper.ts - Tabs
src/components/tabs.ts - Table Of Contents
src/components/toc.ts
UI Primitives
Reactive Runtime
- Motion
src/core/motion.ts - Presence
src/core/presence.ts - Scheduler
src/core/scheduler.ts - Component Base
src/core/Component.ts - View
src/core/view.ts
Shared Utilities
- DOM Helpers
src/utilities/dom.ts - Config Resolution
src/utilities/config.ts - Event Helpers
src/utilities/events.ts - ID Generation
src/utilities/id.ts - Localization
src/utilities/locale.ts - Config Merging
src/utilities/merge.ts - Object Checks
src/utilities/object.ts - Validator
src/utilities/validator.ts
Other components
- Web Page Author
Connections 43
- Web Page Author → Library Entry: uses
README.md - Library Entry → Accordion
src/index.ts - Library Entry → Flow
src/index.ts - Library Entry → Form
src/index.ts - Library Entry → Menu
src/index.ts - Library Entry → Modal: creates
README.md - Library Entry → Offcanvas
src/index.ts - Library Entry → Pagination
src/index.ts - Library Entry → Swiper
src/index.ts - Library Entry → Tabs
src/index.ts - Library Entry → Table Of Contents
src/index.ts - Library Entry → Drop
src/index.ts - Library Entry → Toast
src/index.ts - Library Entry → Theme
src/index.ts - Library Entry → Component Base
- Component Base → View: uses
src/core/Component.ts - Presence → Motion: uses
src/core/presence.ts - Accordion → Loading: creates
src/components/accordion.ts - Accordion → Icons: uses
src/components/accordion.ts - Accordion → Motion: uses
src/components/accordion.ts - Accordion → DOM Helpers: uses
src/components/accordion.ts - Accordion → Config Resolution: resolves
src/components/accordion.ts - Form → DOM Helpers: resolves
src/components/form.ts - Form → Config Resolution: resolves
src/components/form.ts - Form → Validator: delegates
src/components/form.ts - Modal → Popup: uses
src/components/modal.ts - Modal → Presence: uses
src/components/modal.ts - Modal → Motion: uses
src/components/modal.ts - Offcanvas → Presence: uses
src/components/offcanvas.ts - Offcanvas → Event Helpers: uses
src/components/offcanvas.ts - Swiper → Scheduler: uses
src/components/swiper.ts - Swiper → Event Helpers: uses
src/components/swiper.ts - Tabs → Scheduler: uses
src/components/tabs.ts - Tabs → Event Helpers: uses
src/components/tabs.ts - Tooltip → Drop: uses
src/primitives/tooltip.ts - Toast → Loading: creates
src/primitives/toast.ts - Toast → Icons: uses
src/primitives/toast.ts - Toast → Localization: translates
src/primitives/toast.ts - Loading → Icons: renders
src/primitives/loading.ts - Config Resolution → Config Merging: merges
src/utilities/config.ts - Config Resolution → Object Checks: checks
src/utilities/config.ts - DOM Helpers → Object Checks
- Validator → DOM Helpers: resolves
src/utilities/validator.ts