Home

Awesome

Admini

Minimalistic Admin Panel built with Bootstrap 5.3

Features

BS Companion

Some bootstrap related features of admini have been extracted to a third party module called BS Companion

Form elements

Admini does not provide any built in custom form elements. This is because we are often used to use specifics libraries based on our usage and personal preferences.

I highly recommend you to use my WIP (but already very stable) Formidable Elements collection.

If you don't find what you need there, you can use Modular Behaviour. It works beautifully in combination with skypack.

Ajax navigation

The admin panel provides a built-in (but optional) navigation with sco-pe, a custom element made to load page fragments.

Changing from a full page load on each action to a ajax powered navigation as a few side effects that you should not ignore:

Avoid initializing things multiple time can be done in three ways:

You can also ditch sco-pe completely and use a more robust solution like Turbo or Unpoly. I didn't want to use these libraries because they tend to creep to much into the project architecture. With sco-pe, you can pretty much write regular html and it will work with minimal changes. More on that topic.

Icons and images

Demo

Demo is available on Vercel

Try at home

The build setup

Admini use esbuild to compile the js assets. After cloning this repo, simply run

npm start

And you will get a fully functional local demo to play with.

If you want to work on the css, run in another terminal the following

npm run watch-css

And your css will be compiled automatically.

No complicated build pipe :-)