Installation
Choose your framework. The registry installs the component and its runtime dependency.
Account access required
An active entitlement and personal registry token are required for installation.
The registry command writes the component to src/lib/components/ui/CircuitLogo.svelte and installs its dependencies.
The registry command writes the component to src/components/ui/CircuitLogo.tsx and installs its dependencies.
The registry command writes the component to src/components/ui/CircuitLogo.vue and installs its dependencies.
Basic usage
The shader fills its parent. Your layout decides whether that parent is a card, hero, or viewport.
Component API
Types below match the selected Svelte component.
Additional classes for the parent-sized root element.
- Type
string
Inline SVG markup, an SVG URL, or a data URL engraved into the chip. The SVG alpha defines the polished recess.
- Type
string- Range / values
Inline SVG, URL, or data URL
Size of the chip and surrounding circuit within the canvas.
- Type
number- Default
1- Range / values
0.65–1.6
Size of the SVG on the top of the chip.
- Type
number- Default
0.72- Range / values
0.2–1
Depth of the rounded chip above the circuit plane.
- Type
number- Default
0.12- Range / values
0.06–0.3
Base color of the circuit plane.
- Type
string- Default
"#16171D"
Surface color beneath the logo and reflected light.
- Type
string- Default
"#16171D"
Color of circuit traces, moving pulses, and reflected fill light.
- Type
string- Default
"#C2C6FF"
Reflective color of the polished SVG engraving.
- Type
string- Default
"#16171D"
Softness of the reflected light on the chip.
- Type
number- Default
0.5- Range / values
0.05–1
Applies a filmic contrast curve to colors and highlights.
- Type
boolean- Default
true
Speed of the outward-moving light pulses. Set to zero to freeze the circuit while retaining camera interaction.
- Type
number- Default
0.65- Range / values
0–2
Maximum horizontal camera angle from the resting view, in degrees. Set to zero for a fixed camera.
- Type
number- Default
8- Range / values
0–20
How quickly the camera eases toward the pointer. Lower values give a softer, slower response.
- Type
number- Default
5- Range / values
1–15
Stops the render loop while keeping the current frame visible.
- Type
boolean- Default
false
Move the pointer to gently orbit the camera around the center of the scene.
- Type
boolean- Default
true- Range / values
true, false
Caps render resolution independently from the element size.
- Type
number- Default
2- Range / values
1–3
Scales GPU resolution without changing layout dimensions.
- Type
number- Default
1- Range / values
0.25–1
Runs after the shader is mounted successfully, including a WebGL fallback.
- Type
(backend: ShaderBackend) => void- Range / values
webgpu, webgl
Runs when automatic initialization changes the requested WebGPU backend to WebGL.
- Type
(backend: ShaderBackend, reason: string) => void- Range / values
webgl
Reports source-loading or renderer failures so the host application can decide how to recover.
- Type
(error: Error) => void
Exposes the imperative component lifecycle methods.
- Type
Component public instance- Range / values
pause, resume, reset, resize, destroy
Types below match the selected React component.
Additional classes for the parent-sized root element.
- Type
string
Inline SVG markup, an SVG URL, or a data URL engraved into the chip. The SVG alpha defines the polished recess.
- Type
string- Range / values
Inline SVG, URL, or data URL
Size of the chip and surrounding circuit within the canvas.
- Type
number- Default
1- Range / values
0.65–1.6
Size of the SVG on the top of the chip.
- Type
number- Default
0.72- Range / values
0.2–1
Depth of the rounded chip above the circuit plane.
- Type
number- Default
0.12- Range / values
0.06–0.3
Base color of the circuit plane.
- Type
string- Default
"#16171D"
Surface color beneath the logo and reflected light.
- Type
string- Default
"#16171D"
Color of circuit traces, moving pulses, and reflected fill light.
- Type
string- Default
"#C2C6FF"
Reflective color of the polished SVG engraving.
- Type
string- Default
"#16171D"
Softness of the reflected light on the chip.
- Type
number- Default
0.5- Range / values
0.05–1
Applies a filmic contrast curve to colors and highlights.
- Type
boolean- Default
true
Speed of the outward-moving light pulses. Set to zero to freeze the circuit while retaining camera interaction.
- Type
number- Default
0.65- Range / values
0–2
Maximum horizontal camera angle from the resting view, in degrees. Set to zero for a fixed camera.
- Type
number- Default
8- Range / values
0–20
How quickly the camera eases toward the pointer. Lower values give a softer, slower response.
- Type
number- Default
5- Range / values
1–15
Stops the render loop while keeping the current frame visible.
- Type
boolean- Default
false
Move the pointer to gently orbit the camera around the center of the scene.
- Type
boolean- Default
true- Range / values
true, false
Caps render resolution independently from the element size.
- Type
number- Default
2- Range / values
1–3
Scales GPU resolution without changing layout dimensions.
- Type
number- Default
1- Range / values
0.25–1
Runs after the shader is mounted successfully, including a WebGL fallback.
- Type
(backend: ShaderBackend) => void- Range / values
webgpu, webgl
Runs when automatic initialization changes the requested WebGPU backend to WebGL.
- Type
(backend: ShaderBackend, reason: string) => void- Range / values
webgl
Reports source-loading or renderer failures so the host application can decide how to recover.
- Type
(error: Error) => void
Exposes the imperative component lifecycle methods.
- Type
CircuitLogoHandle- Range / values
pause, resume, reset, resize, destroy
Types below match the selected Vue component.
Additional classes for the parent-sized root element.
- Type
string
Inline SVG markup, an SVG URL, or a data URL engraved into the chip. The SVG alpha defines the polished recess.
- Type
string- Range / values
Inline SVG, URL, or data URL
Size of the chip and surrounding circuit within the canvas.
- Type
number- Default
1- Range / values
0.65–1.6
Size of the SVG on the top of the chip.
- Type
number- Default
0.72- Range / values
0.2–1
Depth of the rounded chip above the circuit plane.
- Type
number- Default
0.12- Range / values
0.06–0.3
Base color of the circuit plane.
- Type
string- Default
"#16171D"
Surface color beneath the logo and reflected light.
- Type
string- Default
"#16171D"
Color of circuit traces, moving pulses, and reflected fill light.
- Type
string- Default
"#C2C6FF"
Reflective color of the polished SVG engraving.
- Type
string- Default
"#16171D"
Softness of the reflected light on the chip.
- Type
number- Default
0.5- Range / values
0.05–1
Applies a filmic contrast curve to colors and highlights.
- Type
boolean- Default
true
Speed of the outward-moving light pulses. Set to zero to freeze the circuit while retaining camera interaction.
- Type
number- Default
0.65- Range / values
0–2
Maximum horizontal camera angle from the resting view, in degrees. Set to zero for a fixed camera.
- Type
number- Default
8- Range / values
0–20
How quickly the camera eases toward the pointer. Lower values give a softer, slower response.
- Type
number- Default
5- Range / values
1–15
Stops the render loop while keeping the current frame visible.
- Type
boolean- Default
false
Move the pointer to gently orbit the camera around the center of the scene.
- Type
boolean- Default
true- Range / values
true, false
Caps render resolution independently from the element size.
- Type
number- Default
2- Range / values
1–3
Scales GPU resolution without changing layout dimensions.
- Type
number- Default
1- Range / values
0.25–1
Runs after the shader is mounted successfully, including a WebGL fallback.
- Type
(backend: ShaderBackend) => void- Range / values
webgpu, webgl
Runs when automatic initialization changes the requested WebGPU backend to WebGL.
- Type
(backend: ShaderBackend, reason: string) => void- Range / values
webgl
Reports source-loading or renderer failures so the host application can decide how to recover.
- Type
(error: Error) => void
Exposes the imperative component lifecycle methods.
- Type
Component public instance- Range / values
pause, resume, reset, resize, destroy