About
Downloadable Asset Component
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Downloadable Asset to your project and fits it to your theme.
Code
How Downloadable Asset is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import {
DownloadWrapper,
AssetThumbnail,
AssetHeading
} from "@/components/ui/downloadable-asset"; // Adjust import path as needed
export default function DemoNine() {
return (
<div className={'h-screen w-full flex gap-12 items-center justify-center'}>
<DownloadWrapper downloadHref={'/assets/my-ebook.pdf'}>
<AssetHeading>
The Ultimate Guide to Modern Web Development
</AssetHeading>
</DownloadWrapper>
</div>
)
}















