Container

Consistent containers everywhere

Usage

<UiContainer>
  <!-- Place your content -->
</UiContainer>

This component represents default container of your site. If you need to use different width or layout for some sections, you can modify the component and add more types or use custom wrapper.

Installation

npx @v-moravec/ui add container
Code will be added to ~/components/ui/container/. You can further customize it there.

Props

NameType
as
keyof HTMLElementTagNameMap | undefined

Slots

NameType
default
{}