mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
30 lines
447 B
Markdown
30 lines
447 B
Markdown
---
|
|
description: A container lets you center and constrain the width of your content.
|
|
links:
|
|
- label: GitHub
|
|
icon: i-simple-icons-github
|
|
to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/layout/Container.vue
|
|
---
|
|
|
|
## Usage
|
|
|
|
::component-example
|
|
#default
|
|
:container-example{class="w-full"}
|
|
|
|
#code
|
|
```vue
|
|
<template>
|
|
<UContainer>Content</UContainer>
|
|
</template>
|
|
```
|
|
::
|
|
|
|
## Props
|
|
|
|
:component-props
|
|
|
|
## Preset
|
|
|
|
:component-preset
|