nocturne-wallet-ui
v0.0.1
Published
Nocturne Wallet UI Components
Maintainers
Readme
@nocturne/ui
Nocturne Wallet UI Components - A React component library for building wallet interfaces.
Installation
npm install @nocturne/ui
# or
yarn add @nocturne/ui
# or
pnpm add @nocturne/uiUsage
import { Button, Card, DashboardPage } from '@nocturne/ui';
import '@nocturne/ui/styles.css';
function App() {
return (
<div>
<Button variant="primary">Click me</Button>
<Card>
<h2>Hello World</h2>
</Card>
</div>
);
}Components
Primitives
Button- Customizable button with variantsCard- Card container with header/footerInput- Form input with label and error statesSheet- Slide-out panel (dialog)Tabs- Tab navigationDropdownMenu- Dropdown menuSpinner- Loading spinnerLogo- Nocturne logoBlockieAvatar- Ethereum blockie avatarSearchInput- Search input field
Features
DashboardPage- Complete dashboard layoutDashboardLayout- Dashboard shell with header/tabsTokensPage- Token list displayActivityPage- Transaction historySendPanel- Send tokens panelReceivePanel- Receive tokens panelSwapPanel- Token swap panelSettingsPanel- Settings menuWelcome- Welcome/onboarding screenUnlock- Wallet unlock screenCreateWallet- Wallet creation flowImportWallet- Wallet import flow
Peer Dependencies
- React 18+ or 19+
- React DOM 18+ or 19+
License
MIT
