Layout Shells

Layout shells in an AdonisJS + Inertia app. Instead of a runtime layout chooser, each context has its own purpose-built shell that coexists as a distinct React component. Every page picks its shell explicitly by import. Use when adding a new page (which shell to import), when adding a new area of the app (which shell fits), or when someone proposes runtime configurability. Trigger on: "which layout", "shell", "sidebar", "top nav", "layout choice".

filipebraida Updated 98 repo stars
Demo

File contents

filipebraida/adonisjs-starter-kit commit f7c6b0d12a

Frequently asked questions

npx get-skill add filipebraida/layout-shells