SoybeanUI is now VeanUIMigration guidePackages moved to @vean/aria and @vean/ui, and the docs moved to veanui.com.This site redirects in Nov 2026; the @soybeanjs packages are deprecated in Apr 2027.
Components
Back to catalog
Component detail entry
Layout
@soybeanjs/ui
SLayout

Layout

Layout belongs to the Layout category. Start with demos and usage, then use the API tables to finish integration and styling decisions.

Use the quick jump panel to reach overview, usage, demos, and API first, then continue through the full page.

Quick jump

Related components

If you are composing interactions in the same family, these components usually pair well together.

Changelog

Version history is grouped by release so you can quickly see what changed for this component across published versions.

v0.50.0

2026-10-02

Compare release

Feature

let a host viewport decide isMobile and expose the drawer state

Scope: layoutAuthors: soybeanjsView commit6f9d8

Feature

expose the region visibility props in the basic example

Scope: layoutAuthors: soybeanjsView commitb08dc

Fix

follow the viewport and drop the sidebar gaps on mobile

Scope: layoutAuthors: soybeanjsView commitda8ef

Fix

keep the drawer navigation expanded on mobile

Scope: layoutAuthors: soybeanjsView commit989ca

Fix

re-publish the layout variables inside the mobile drawer

Scope: layoutAuthors: soybeanjsView commitfb1ad

Fix

collapse the fixed tab when the header is hidden

Scope: layoutAuthors: soybeanjsView commit99976

Fix

drop the sidebar-adjacent spacing when the sidebar is hidden

Scope: layoutAuthors: soybeanjsView commita2f34

Fix

reserve and paint nothing for a zero-width sidebar

Scope: layoutAuthors: soybeanjsView commitf6aef

Optimization

adjust transition durations and add margin to layout triggers

Scope: layoutAuthors: soybeanjsView commit0cbff

Chore

align surface-layering assertions with the current recipe

Scope: layoutAuthors: soybeanjsView commit1ab80

Feature

expose the region visibility props in the basic example

Scope: layoutAuthors: soybeanjsView commitb08dc

Fix

collapse the fixed tab when the header is hidden

Scope: layoutAuthors: soybeanjsView commit99976

Fix

drop the sidebar-adjacent spacing when the sidebar is hidden

Scope: layoutAuthors: soybeanjsView commita2f34

Fix

reserve and paint nothing for a zero-width sidebar

Scope: layoutAuthors: soybeanjsView commitf6aef

Fix

re-publish the layout variables inside the mobile drawer

Scope: layoutAuthors: soybeanjsView commitfb1ad

Feature

let a host viewport decide isMobile and expose the drawer state

Scope: layoutAuthors: soybeanjsView commit6f9d8

Fix

follow the viewport and drop the sidebar gaps on mobile

Scope: layoutAuthors: soybeanjsView commitda8ef

Fix

keep the drawer navigation expanded on mobile

Scope: layoutAuthors: soybeanjsView commit989ca

Docs

align surface-layering assertions with the current recipe

Scope: layoutAuthors: soybeanjsView commit1ab80

Optimization

adjust transition durations and add margin to layout triggers

Scope: layoutAuthors: soybeanjsView commit0cbff

v0.22.3

2026-05-17

Compare release

Fix

replace DialogContent with DialogPopup for mobile layout

Scope: layoutAuthors: soybeanfeView commit1efaa

v0.15.5

2026-04-30

Compare release

Optimization

remove unused properties from LayoutClassicRootProps

Scope: layoutAuthors: soybeanfeView commitc9233

v0.9.1

2026-03-03

Compare release

Fix

add background color to sidebar for better visibility

Scope: layoutAuthors: soybeanjsView commit1ce3f

Optimization

optimize layout styles

Scope: layoutAuthors: soybeanjsView commitf5d4d

v0.6.3

2026-02-08

Compare release

Fix

add background color to tab and content variants

Scope: layoutAuthors: soybeanjsView commitd7ab2

v0.5.9

2026-02-07

Compare release

Fix

update main and root styles for layout variants

Scope: layoutAuthors: soybeanjsView commit4bea2

v0.5.8

2026-02-07

Compare release

Feature

add tabVisible and footerVisible props to LayoutProps

Scope: layoutAuthors: soybeanjsView commitaf2b6

v0.3.2

2026-01-29

Compare release

Feature

add LayoutContent component and update layout structure

Scope: layoutAuthors: soybeanjsView commitf5515

v0.1.6

2026-01-27

Compare release

Feature

add customizable header, tab, and footer heights

Scope: layoutAuthors: soybeanjsView commit17258

v0.1.1

2026-01-23

Compare release

Feature

add default props for side, variant, and collapsible

Scope: layoutAuthors: soybeanjsView commit203e7

v0.0.14

2026-01-14

Compare release

Breaking

replace mobile media query with isMobile boolean for improved layout handling

Scope: layoutAuthors: soybeanjsView commit3718f

v0.0.13

2026-01-09

Compare release

Fix

adjust breadcrumb spacing and enhance content area for better layout consistency

Scope: layoutAuthors: soybeanjsView commitc595b

v0.0.11

2026-01-08

Compare release

Fix

update max-width values in configuration and layout files for consistent styling

Scope: layoutAuthors: soybeanjsView commit861cc

v0.0.10

2026-01-07

Compare release

Refactor

replace sizeRatio with pxToRem function for improved sidebar width calculations and update mobile layout styles

Scope: layoutAuthors: soybeanjsView commitca234

v0.0.8

2026-01-01

Compare release

Fix

replace drawerContentVariants with drawerPopupVariants for improved layout handling

Scope: layoutAuthors: soybeanjsView commit6ba89

v0.0.7

2025-12-09

Compare release

Fix

add z-index to mobile drawer for improved visibility

Scope: layoutAuthors: soybeanjsView commit43a1c

v0.0.6

2025-12-09

Compare release

Fix

adjust header and layout styles for improved consistency and overflow handling

Scope: layoutAuthors: soybeanjsView commit6996b

v0.0.2

2025-11-18

Compare release

Feature

implement Layout components

Scope: layoutAuthors: soybeanjsView commitcf0ee

Optimization

rename theme variable to themeContext for consistency across layout components

Scope: layoutAuthors: soybeanjsView commit270ed

Feature

implement Layout components

Scope: layoutAuthors: soybeanjsView commitcf0ee

Optimization

rename theme variable to themeContext for consistency across layout components

Scope: layoutAuthors: soybeanjsView commit270ed