Résumé Download Button
The document glyph prints itself line by line, then drops into a tray as the file downloads and the label settles on “Saved”. Live status for screen readers.
Try it: Click — the sheet prints and drops into the tray.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/resume-download-button.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/resume-download-button. You can also copy the source into components/ui/resume-download-button.tsx (view on GitHub).
Usage
import { ResumeDownloadButton } from '@/components/ui/resume-download-button'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
href | string | — | File URL; a real download starts when the sheet lands. |
fileName | string | 'resume.pdf' | Downloaded file name. |
meta | string | 'PDF · 184 KB' | Meta line. |
label | string | 'Download résumé' | Button label. |
onDownload | () => void | — | Fires after the animation. |
duration | number | 1500 | ms of the printing phase. |
className | string | — | Extra classes merged onto the root. |
Dependencies
motionlucide-react
Related Portfolio components
- Services Cards
Four offers in one row: hover or focus a card and it swells while the others yield; a cursor-lit border follows the pointer, the icon tile tilts and deliverables stagger in with ticking checks.
- Reading Progress + TOC
A spring-smoothed reading bar and a sticky table of contents that lights the section on screen, with a live “min left” estimate — made for long-form blog posts.
- Scroll Reveal
A wrapper that animates its content in on scroll: seven effects (rise, fade, blur, scale, clip, slide-left/right), optional child staggering, any scroll container, and a no-motion fallback.
- Intro Preloader
Greeting words flick by while a big counter climbs 0→100, then the ink curtain lifts with a trailing curve that flattens as it leaves and the page settles from a slight zoom. Skippable.
- Studio Folio Template
A complete one-page designer portfolio composed from Framekit parts — intro preloader, kinetic name hero, spy-nav, impact stats, filterable work with lightbox, services, testimonials, contact form…
- Project Lightbox
Thumbnails open into a detail modal through a shared-element morph — artwork flies from its tile to the hero slot while copy staggers in. Focus trapped and restored, Esc closes, ←/→ browse.