Skip to main content

Theme Scope

Theme Scope applies a different theme or color mode to part of the page, like a dark hero or a differently branded section. The rest of the page keeps its own.

Import

import { ThemeScope } from '@vortexlabs/vortex';
import type { ThemeProps } from '@vortexlabs/vortex';

Other links

ThemeScope props
PropTypeDefaultAttributes
name
union
No default value
defaultName
union
No default value
colorMode
union
No default value
className
union
No default value
children
React.ReactNode
No default value