Web3 component library for Morpheus Protocol, built on shadcn/ui and Tailwind CSS.
- Web3-First Components: Pre-built components for token balances, staking, bridging, and more
- Multi-Chain Support: Native support for Base and Arbitrum networks
- Type-Safe: Full TypeScript support with shared types
- Customizable: Built on Tailwind CSS for easy theming
- Performance Optimized: Efficient RPC polling and memoization
MorBalance- Display MOR token balances across networksMetricCard- Animated metric display cardsStakingFormCard- Staking form with validationBridgeFormCard- Cross-chain bridge formUserAssetsTable- Table for user's staked assetsChartSection- Chart visualizations- Modal components for deposit, withdraw, claim rewards, and stake rewards
- Node.js 20+
- pnpm 9.12+
# Clone the repository
git clone https://github.com/morpheusais/morpheus-ui.git
cd morpheus-ui
# Install dependencies
pnpm install
# Build the registry
pnpm build:registry
# Start development server
pnpm dev:registryImport components from the registry:
import { MorBalance } from "@morpheus-ui/registry";
function Dashboard() {
return <MorBalance address="0x..." />;
}See docs.morpheusprotocol.com for complete documentation.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT License - see LICENSE for details.