| Prop | Type | Default | Attributes |
|---|---|---|---|
children | React.ReactNode | No default value— | |
theme | union | No default value— | |
defaultTheme | union | vortex | |
defaultRTL | boolean | false | |
colorMode | union | No default value— | |
onColorModeChange | callback | No default value— | |
defaultColorMode | union | light | |
defaultBreakpoint | union | xs | |
toastOptions | indexed | No default value— | |
scoped | boolean | false | |
className | union | No default value— | |
attributes | object | No default value— |
Vortex Provider
Vortex Provider sets up Vortex at the root of your app, like applying your theme and color mode. It also provides the direction, toasts, and keyboard focus behavior that components share.
Import
import { VortexProvider } from '@vortexlabs/vortex';
import type { VortexProviderProps } from '@vortexlabs/vortex';Other links