
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@bitcoin-os/dock
Advanced tools
A desktop dock component for Bitcoin OS desktop applications with full-size icons
A LARGE desktop dock component for Bitcoin OS desktop applications with full-size icons (64px height, 48px app icons).
npm install @bitcoin-os/dock
import React from 'react';
import BitcoinDock, { defaultBitcoinApps } from '@bitcoin-os/dock';
function App() {
return (
<div>
{/* Your app content */}
<BitcoinDock
apps={defaultBitcoinApps}
currentApp="Bitcoin Writer"
onAppClick={(app) => {
if (app.url) window.open(app.url, '_blank');
}}
/>
</div>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
apps | DockApp[] | [] | Array of applications to display in the dock |
currentApp | string | undefined | ID or name of the currently active app |
showStatus | boolean | true | Whether to show the status bar on the right |
showWifi | boolean | true | Whether to show wifi indicator |
showBattery | boolean | true | Whether to show battery indicator |
showTime | boolean | true | Whether to show current time |
onAppClick | (app: DockApp) => void | undefined | Callback when an app is clicked |
className | string | '' | Additional CSS class name |
interface DockApp {
id?: string; // Unique identifier
name: string; // Display name
icon: LucideIcon | string; // Lucide icon component or image URL
color: string; // Color class or 'rainbow' for rainbow effect
url?: string; // URL to navigate to when clicked
disabled?: boolean; // Whether the app is disabled
current?: boolean; // Whether this is the current app
isImage?: boolean; // Whether icon is an image URL
}
The package includes a pre-configured set of Bitcoin OS applications:
import { defaultBitcoinApps } from '@bitcoin-os/dock';
This includes apps like Bitcoin Wallet, Bitcoin Email, Bitcoin Music, Bitcoin Writer, and many more.
The component uses CSS modules and includes responsive design for mobile devices. The dock automatically adjusts its size and hides less important status indicators on smaller screens.
MIT © Bitcoin OS
FAQs
A desktop dock component for Bitcoin OS desktop applications with full-size icons
The npm package @bitcoin-os/dock receives a total of 6 weekly downloads. As such, @bitcoin-os/dock popularity was classified as not popular.
We found that @bitcoin-os/dock demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.