About
A dark glass bezel-and-screen frame (with a glare, shaded rim and inner shadow) used to display a link preview, code block, or image behind glass.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Glass Face to your project and fits it to your theme.
Code
How Glass Face is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import GlassFace from "@/components/ui/glass-face";
export default function GlassFaceDemo() {
return (
<div className="w-full h-screen flex items-center justify-center bg-[#0E0E0F]">
<GlassFace.Root className="w-72">
<GlassFace.Screen className="aspect-[16/10] flex flex-col justify-between p-4">
<span className="text-[11px] font-mono tracking-wide text-white/40">
lanterns.photo
</span>
<div>
<p className="text-sm font-medium text-white/90">night-market</p>
<p className="text-[11px] text-white/40">Open ↗</p>
</div>
</GlassFace.Screen>
</GlassFace.Root>
</div>
);
}
















