Skip to content

UIContentWrap

UIContentWrap

A wrapper component for content with consistent padding and layout.

<template>
<UIContentWrap
:padding="24"
:maxWidth="1200"
:centered="true"
>
<div class="content">
Your content here
</div>
</UIContentWrap>
</template>

Props

  • padding (number | string): Content padding in pixels
  • maxWidth (number | string): Maximum content width
  • centered (boolean): Center content horizontally
  • background (string): Background color
  • fullHeight (boolean): Expand to full height of container

Slots

  • default: Content to be wrapped