Dev Design Library

Download Button

DownloadButton is a React component used to download content from a Blob URL. It provides a button with a download icon that, when clicked, triggers a download of the specified content. It also displays a tooltip indicating the file type being downloaded.

Download Button preview
Library
Lobe UI
Framework
React
Type
component
License
MIT
Install
pnpm add @lobehub/ui
Files
  • src/DownloadButton/DownloadButton.tsx
  • src/DownloadButton/index.ts
  • src/DownloadButton/stable.ts
  • src/DownloadButton/type.ts
  • src/ActionIcon/index.ts
  • src/ActionIcon/ActionIcon.tsx
  • src/ActionIcon/style.ts
  • src/ActionIcon/type.ts
Source
https://github.com/lobehub/lobe-ui

Categories

More from Lobe UI