InlineLayout

Mounts rendered one after another with no chrome at all.

import { BUILTIN_LAYOUTS } from '@textui/core';

const inline = BUILTIN_LAYOUTS.find((layout) => layout.name === 'inline');

Props

| Prop | Type | Default | | | — | — | — | — | | surface | SurfaceName | required | | | mounts | Mount[] | required | | | state | SurfaceState | required | |

Plus everything on BoxProps.

No tabs, no divider, no frame - the mounts and nothing else. For a surface that is a hole in someone else’s layout, where any decoration would be a second frame around a thing already framed.

See also


Back to top

MIT licensed. Pre-1.0 - the surface is still moving.