Privacy panel
A large soft panel with a glossy drawn object, a medium headline and two quiet lines; the object lifts on hover.
Part of the style
Painted Sky Desktop
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/painted-sky-desktop/privacy/figma.html?type=cloud-sky-artboard
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/painted-sky-desktop/privacy/figma.html?type=cloud-sky-artboard and pass that whole HTML document to the html_to_figma tool, so the part "Privacy panel" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,500..800&family=Hanken+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&family=Caveat:wght@500&display=swap");
:root {
--font-body: "Hanken Grotesk", system-ui, sans-serif;
--font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
--font-mono: "Space Mono", ui-monospace, monospace;
}
</style>
<section class="privacy">
<div class="privacy__panel">
<svg class="privacy__object" viewBox="0 0 160 140" aria-hidden="true">
<defs>
<linearGradient id="privacy-body" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="var(--sky-light)" />
<stop offset="1" stop-color="var(--sky)" />
</linearGradient>
<linearGradient id="privacy-lid" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="var(--paper)" />
<stop offset="1" stop-color="var(--sky-light)" />
</linearGradient>
</defs>
<ellipse class="privacy__shadow" cx="80" cy="130" rx="54" ry="6" />
<!-- a glossy keepsake tin: body, lid, a tag on a string -->
<rect x="22" y="48" width="116" height="76" rx="14" fill="url(#privacy-body)" />
<rect x="22" y="48" width="116" height="16" rx="8" fill="var(--paper)" opacity="0.28" />
<g class="privacy__lid">
<rect x="16" y="30" width="128" height="26" rx="11" fill="url(#privacy-lid)" />
<rect x="64" y="20" width="32" height="14" rx="7" fill="var(--sky)" />
</g>
<path d="M96 76c10 0 14 6 14 14" fill="none" stroke="var(--paper)" stroke-width="2" stroke-linecap="round" opacity="0.8" />
<rect x="100" y="88" width="20" height="26" rx="4" fill="var(--paper)" transform="rotate(-8 110 101)" />
<circle cx="108.5" cy="93" r="2" fill="var(--sky)" />
</svg>
<h2 class="privacy__title">Nothing leaves your desk.</h2>
<p class="privacy__text">Your clippings live in one plain folder on your own computer. No account, no cloud, no one reading over your shoulder.</p>
</div>
</section>
<style>
.privacy {
max-width: calc(var(--cards-max) + 2 * var(--edge));
margin: 0 auto;
padding: var(--section-space) var(--edge);
}
.privacy__panel {
display: flex;
flex-direction: column;
align-items: center;
padding: clamp(48px, 7vw, 76px) var(--space-l);
border-radius: var(--radius-l);
background: var(--paper-soft);
text-align: center;
}
.privacy__object {
width: 136px;
height: auto;
margin-bottom: var(--space-xl);
overflow: visible;
}
.privacy__lid {
transform-origin: 140px 44px;
transition: transform var(--rise) var(--ease-out);
}
.privacy__shadow {
fill: var(--ink-deep);
opacity: 0.08;
}
.privacy__panel:hover .privacy__lid {
transform: translateY(-6px) rotate(4deg);
}
.privacy__title {
margin: 0 0 10px;
color: var(--ink-deep);
font-family: var(--font-display);
font-size: var(--text-xl);
font-weight: 500;
line-height: 1.3;
letter-spacing: var(--track-tight);
}
.privacy__text {
max-width: 44ch;
margin: 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: 1.6;
text-wrap: balance;
}
</style>