• Blog
  • Documentation
  • Courses
  • Changelog
  • AI Starters
  • UI Kit
  • FAQ
  • Supamode
    New
  • Pricing

Launch your next SaaS in record time with Makerkit, a React SaaS Boilerplate for Next.js and Supabase.

Makerkit is a product of Makerkit Pte Ltd (registered in the Republic of Singapore)Company Registration No: 202407149CFor support or inquiries, please contact us

About
  • FAQ
  • Contact
  • Verify your Discord
  • Consultation
  • Open Source
  • Become an Affiliate
Product
  • Documentation
  • Blog
  • Changelog
  • UI Blocks
  • Figma UI Kit
  • AI SaaS Starters
License
  • Activate License
  • Upgrade License
  • Invite Member
Legal
  • Terms of License
    • Tailwind CSS
    • Updating the theme
    • Updating the Logo
    • Adding Shadcn UI components to your application | Next.js Supabase SaaS Kit
    • Updating Fonts
    • Layout Style

Update the default layout style of your SaaS | Next.js Supabase SaaS Starter Kit

Learn how to update the default layout style of your Makerkit application

How to update the default layout style of your Makerkit application

Learn how to update the default layout style of your Makerkit application

1

Changing the layout style

2

Sidebar Layout

3

Header Layout

By default, Makerkit uses the sidebar layout style for both the user and the team workspaces.

Changing the layout style

You can change the layout style by setting the NEXT_PUBLIC_USER_NAVIGATION_STYLE and NEXT_PUBLIC_TEAM_NAVIGATION_STYLE environment variables. The default style is sidebar.

To set the layout style to header, update the environment variables:

bash
NEXT_PUBLIC_TEAM_NAVIGATION_STYLE=header
NEXT_PUBLIC_USER_NAVIGATION_STYLE=header

Sidebar Layout

The default layout style is sidebar:

You can customize the sidebar layout to set it as expanded or collapsed. By default, it is always set to expanded.

text
NEXT_PUBLIC_HOME_SIDEBAR_COLLAPSED=true
NEXT_PUBLIC_TEAM_SIDEBAR_COLLAPSED=true

You can decide the configuration for the each workspace.

Header Layout

And here is header layout:

On this page
  1. Changing the layout style
    1. Sidebar Layout
      1. Header Layout