# layout.size

Part of [Layout](https://kernstra.com/docs/web-sdk/config/layout) in the Kernstra Web SDK 1.0.0 configuration reference.

- Type: `'auto' | LayoutSize`
- Default: `'auto'`
- Page: https://kernstra.com/docs/web-sdk/config/layout/size

Which size class the viewer lays itself out for. `'auto'` measures the container; a `LayoutSize` (`'comfortable' | 'compact' | 'narrow' | 'tiny'`) pins one. The classes are listed in the table below.

Web page: https://kernstra.com/docs/web-sdk/config/layout/size
