Installation
1
Install the package
Install AppShell in your React application:
2
Import the theme
Add AppShell’s Tailwind CSS theme to your global stylesheet:
globals.css
3
Create your first module
Define a module with a simple component:
4
Set up AppShell
Add the AppShell component to your application:
5
Run your application
Start your development server and navigate to You should see your dashboard page with automatic sidebar navigation!
/app/dashboard:Adding More Pages
Now let’s add a nested page to see AppShell’s routing in action:/app/dashboard- Dashboard page/app/dashboard/orders- Orders list/app/dashboard/orders/123- Order detail with ID
- Generates sidebar navigation
- Creates breadcrumbs
- Handles routing between pages
- Provides the Command Palette (press
Cmd+KorCtrl+K)
Next Steps
Building Your First App
Follow a complete tutorial to build a real application
Modules & Resources
Learn how to structure your application
Authentication
Add user authentication to your app
Components
Explore all available components