Skip to content

Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.

feat(ui): add tactile spring micro-interactions, 3D glass hairlines, and dual typography hierarchy

Deepender256cea72c6ac33
diff --git a/README.md b/README.md
index bb2d1de..c3ec7aa 100644
--- a/README.md
+++ b/README.md
@@ -141,6 +141,8 @@ npm run build:store # outputs an MSIX .appx for Microsoft Store submission
- Double-click to expand, drag a sub-item to the left edge to split it back out
**UI / UX**
+- **Tactile Micro-Interactions & Spring Motion**: Card hover 2px lift with ambient backlight glow, micro radial copy ripple effect, and smooth Framer Motion `layoutId` spring list reflow (`stiffness: 500`, `damping: 32`).
+- **Refined Obsidian Aesthetics & Multi-Layer Depth**: Dual-layer 3D glass hairline highlights (`inset 0 1px 0 rgba(255, 255, 255, 0.12)`) and dual typography hierarchy (monospaced *JetBrains Mono* metadata + *Inter/SF Pro* system title font stack).
- **Ergonomic Card Action Bar & Safety Guard**: Re-ordered card actions (`Pin`, `Expand`, `Copy`, `Open Link`, `Divider`, `Delete`) with a physical safety hairline divider and 100% layout consistency across normal hover and preview mode.
- **Ultra-Minimal Header**: Sleek, unbranded top header maximizing usable vertical space for clipboard items and sub-views.
- **Pinned Deck**: Dedicated Pinned items deck container with custom icon header, smooth Framer Motion spring collapse/expand height physics, and clean text count.
diff --git a/src/components/ClipboardItem.tsx b/src/components/ClipboardItem.tsx
index e2aef7d..6881a30 100644
--- a/src/components/ClipboardItem.tsx
+++ b/src/components/ClipboardItem.tsx
@@ -107,10 +107,12 @@ function ClipboardItemBase({ item }: Props) {
return (
<motion.div
layout
+ layoutId={`card-${item.id}`}
initial={open ? { opacity: 0, y: 6, scale: 0.97 } : false}
animate={{ opacity: 1, y: 0, scale: 1 }}
exit={{ opacity: 0, scale: 0.96, transition: { duration: 0.1, ease: 'easeIn' } }}
transition={{
+ layout: { type: 'spring', stiffness: 500, damping: 32 },
type: 'spring',
stiffness: 500,
damping: 38,
@@ -120,6 +122,22 @@ function ClipboardItemBase({ item }: Props) {
}}
className={`item${item.pinned ? ' pinned' : ''}${isBundle ? ' bundle' : ''}`}
>
+ {copied && (
+ <motion.div
+ key="copy-ripple"
+ initial={{ opacity: 0.75, scale: 0.2 }}
+ animate={{ opacity: 0, scale: 1.6 }}
+ transition={{ duration: 0.45, ease: [0.16, 1, 0.3, 1] }}
+ style={{
+ position: 'absolute',
+ inset: 0,
+ borderRadius: 16,
+ background: 'radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 75%)',
+ pointerEvents: 'none',
+ zIndex: 15
+ }}
+ />
+ )}
<div
className={`item-main${isPreviewing ? ' force-actions previewing' : ''}`}
data-id={item.id}
diff --git a/src/components/IndicatorStyleFlyout.tsx b/src/components/IndicatorStyleFlyout.tsx
index 77c39a7..e7b58e3 100644
--- a/src/components/IndicatorStyleFlyout.tsx
+++ b/src/components/IndicatorStyleFlyout.tsx
@@ -142,7 +142,7 @@ export function IndicatorStyleFlyout({ isRight }: { isRight: boolean }) {
useStore.getState().triggerCopyFlare()
}}
preview={<LiquidOctopusLoader fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" speed={1.2} />}
- title="Logo"
+ title="Edge-Drop Logo"
/>
{/* Card 2: Tick */}
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index a992786..283c87d 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -364,7 +364,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool
? 'Active: Copy Icon'
: settings.copyIndicatorStyle === 'sparkle'
? 'Active: Sparkle'
- : 'Active: Liquid Octopus'}
+ : 'Active: Edge-Drop Logo'}
</div>
</div>
diff --git a/src/styles/item.css b/src/styles/item.css
index 792dcbe..57eb39c 100644
--- a/src/styles/item.css
+++ b/src/styles/item.css
@@ -9,22 +9,30 @@
flex-direction: column;
margin-bottom: 10px;
background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.05);
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
border-radius: 16px;
user-select: none;
-webkit-user-select: none;
- /* Specific properties only — avoids interpolating every inherited prop. */
- transition: background 0.18s ease, border-color 0.18s ease;
+ /* Card Lift & Ambient Backlight Glow */
+ transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
+ box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
+ background 0.22s ease,
+ border-color 0.22s ease;
overflow: hidden;
+ will-change: transform;
}
.item:hover {
+ transform: translateY(-2px);
background: rgba(255, 255, 255, 0.06);
- border-color: rgba(255, 255, 255, 0.15);
+ border-color: rgba(255, 255, 255, 0.18);
+ box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 16px rgba(255, 255, 255, 0.04);
}
.item.pinned {
- border-color: rgba(255, 255, 255, 0.3);
+ border-color: rgba(255, 255, 255, 0.35);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.08);
}
@@ -72,10 +80,11 @@
}
.preview {
- font-size: 14px;
- line-height: 1.5;
- color: rgba(255, 255, 255, 0.9);
- font-weight: 400;
+ font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
+ font-size: 13.5px;
+ line-height: 1.45;
+ color: rgba(255, 255, 255, 0.92);
+ font-weight: 450;
word-break: break-word;
white-space: pre-wrap;
display: -webkit-box;
@@ -94,11 +103,12 @@
display: flex;
align-items: center;
flex-wrap: wrap;
- gap: 10px;
- font-size: 11px;
- color: rgba(255, 255, 255, 0.72);
- font-weight: 500;
- letter-spacing: 0.01em;
+ gap: 8px;
+ font-family: "JetBrains Mono", "SF Mono", "Fira Code", ui-monospace, monospace;
+ font-size: 10px;
+ color: rgba(255, 255, 255, 0.45);
+ font-weight: 400;
+ letter-spacing: 0.03em;
}
/* Scroll to top button */