I built a dependency-free side... Note

I built a dependency-free sidebar with drag-and-drop and magnetic snapping , in vanilla JS

ac_sidebar is a unique JavaScript class designed for sidebar components, notably operating without frameworks, build steps, or external CSS libraries. It integrates its own CSS and SVG icon set directly, making it entirely self-contained. The component offers two menu levels with a recursive structure and role-based filtering, allowing menus to auto-hide if empty. It supports five positions: left, right, top, bottom, or a draggable "free" mode with magnetic snapping.The sidebar can collapse into an icon rail or be hidden behind a burger button. It also features counter badges per entry, supports multiple instances on a single page, and can persist state using localStorage. Developers can instantiate ac_sidebar directly with a configuration object or load it from an external JSON file.A notable characteristic is its configuration keys and values, which are in French, reflecting its original development for French-speaking clients. For example, "gauche" is used for "left" and "clair" for "light." This class is part of a collection of standalone, dependency-free JS/PHP classes maintained by artisan-code.fr. It is specifically built for projects where using a full framework would be unnecessary or excessive.