Skip to main content

Theme Scope

Theme Scope is a wrapper that applies a different theme or color mode to part of the page, such as a dark hero section.

Import

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

Allied components

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