Skip to content

Kirby 3.6.6

View

<k-view>

This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.

The View component is a very basic wrapper, that makes sure to keep the right padding around your interface and also limits the max width. You should use it for full screen layouts only.

<k-view>
  <!-- your interface goes here -->
</k-view>

Props

Prop Type Default Description
align
string
Supported values:
centre
To center the content

Slots

Slot Description
default where your content goes

View components should never be nested

CSS classes

.k-view