
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@bitcoin-os/dock
Advanced tools
A desktop dock component for Bitcoin OS desktop applications with full-size icons
A minimal macOS-style dock component for Bitcoin OS applications with status bar functionality.
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 0 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.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

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.