mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
1.3 KiB
1.3 KiB
title, description, category, links
| title | description | category | links | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| App | Wraps your app to provide global configurations and more. | layout |
|
Usage
This component implements Reka UI ConfigProvider to provide global configuration to all components:
- Enables all primitives to inherit global reading direction.
- Enables changing the behavior of scroll body when setting body lock.
- Much more controls to prevent layout shifts.
It's also using ToastProvider and TooltipProvider to provide global toasts and tooltips, as well as programmatic modals and slideovers.
Use it at the root of your app:
<template>
<UApp>
<NuxtPage />
</UApp>
</template>
::framework-only
#nuxt
:::tip{to="/getting-started/i18n/nuxt#locale"}
Learn how to use the locale prop to change the locale of your app.
:::
#vue
:::tip{to="/getting-started/i18n/vue#locale"}
Learn how to use the locale prop to change the locale of your app.
:::
::
API
Props
:component-props
Slots
:component-slots