Spaces:
Running
Running
Download bioai-platform/frontend/src/components/ui/HudPanel.tsx from Samad14/bio-nexus-api: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/main/bioai-platform/frontend/src/components/ui/HudPanel.tsx
- Command line
-
hf download hf://spaces/Samad14/bio-nexus-api/bioai-platform/frontend/src/components/ui/HudPanel.tsx
-
curl -L -o HudPanel.tsx https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/main/bioai-platform/frontend/src/components/ui/HudPanel.tsx
451 Bytes
| 'use client'; | |
| /** | |
| * Spatial HUD chrome — controls that sit at a fixed depth in the 3D | |
| * viewer's scene, near-opaque so the model underneath stays readable. | |
| * Never blurred glass over a structure people are trying to parse. | |
| */ | |
| interface HudPanelProps { | |
| children: React.ReactNode; | |
| className?: string; | |
| } | |
| export function HudPanel({ children, className = '' }: HudPanelProps) { | |
| return <div className={`hud ${className}`}>{children}</div>; | |
| } | |