Loading component…
Loading component…
Glassy blue folder with documents behind a frosted pocket that tips open on hover
To reuse this local React demo, copy all files from the Code tab into the same folder, then import GlassFolder from ./glass-folder.
import { GlassFolder } from "@/components/ui/glass-folder";
export function FeatureCard() {
return (
<article style={{ maxWidth: 360 }}>
<GlassFolder />
<h3>Card title</h3>
<p>Short description of the feature.</p>
</article>
);
}| Name | Type | Default | Description |
|---|---|---|---|
| label | string | "Blue folder holding three documents…" | Accessible description of the illustration |
| className | string | Extra class on the root, e.g. for width or margins |
Transparent background, so it sits on any light surface
Keeps a 3 : 2 aspect ratio and scales to the width of its container – every detail is sized in container units