diff --git a/docs/content/2.components/notification.md b/docs/content/2.components/notification.md index b04aabb1..c21c6c8a 100644 --- a/docs/content/2.components/notification.md +++ b/docs/content/2.components/notification.md @@ -29,12 +29,16 @@ export default defineAppConfig({ ui: { notifications: { // Show toasts at the top right of the screen - position: 'top-0 right-0' + position: 'top-0 bottom-[unset]' } } }) ``` +::callout{icon="i-heroicons-light-bulb"} +The `position` defaults to `bottom-0 end-0`, the `bottom-[unset]` class overrides `bottom-0` so the result is `top-0 end-0`. +:: + Then, you can use the `useToast` composable to add notifications to your app: :component-example{component="notification-example-basic"}