.tsx files@holocron.so/vite/mdx. This is useful when you build custom components that compose Holocron primitives:12345678910111213import { Card, CardGroup, Callout, Steps, Step } from '@holocron.so/vite/mdx' export function FeatureGrid({ features }) { return ( <CardGroup cols={3}> {features.map((f) => ( <Card key={f.title} title={f.title} icon={f.icon}> {f.description} </Card> ))} </CardGroup> ) }
.tsx component files. In MDX pages, all components are available globally without imports.VideoBackgroundShader is a Holocron-only WebGL video background. Video luminance drives a dot grid. Mouse movement adds fluid splats.dotAlphaMultiplier (0-1, default 1). That multiplies painted-dot alpha in the shader.12345<VideoBackgroundShader src="/hero-bg.mp4" dotColor="#8da4ff" dotAlphaMultiplier={0.4} />
canvasClassName opacity for that. Classes like opacity-40 or dark:opacity-60 fade the whole canvas layer, including the fade-in wrapper. They do not change how strong the dots are.canvasClassName is still valid for extra classes on the canvas container only. Gradients and children do not receive it.