Visual reference library of all reusable components in this project starter template. Use this page to understand available components and their variations when building new projects.
Standardized metric display component for consistent KPI/metric presentation. Features fixed font size (32px), light weight (300), and consistent spacing.
File: app/components/MetricDisplay.tsxTotal Portfolio Value
$245,680
Total Rewards (30d)
$1,850
APY Average
8.2%
Reusable header component for panels and cards. Supports multiple sizes, divider types (solid, gradient, dashed), and optional right actions.
File: app/components/PanelHeader.tsxOptional subtitle text
Automated yield strategies
Interactive card displaying capital flow metrics with chart visualization. Includes period selector (7d, 30d, 90d) and bar chart showing deposits vs withdrawals. Representative of all metric cards with charts.
File: app/components/CapitalFlowCard.tsxVaults Capital Flow
+$0.00
Data table component with multiple columns displaying vault information. Features panel header with gradient divider, hover effects on rows, and responsive horizontal scroll. Representative of all table structures in the project.
File: app/components/VaultsTable.tsxAutomated yield strategies across multiple protocols
| Vault | Protocol | Chain | Strategy | TVL | APY | Deposited | Deposited (USD) | Earned | Earned (USD) | Risk Level | Actions |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Upshift USDC Vault | Upshift | Ethereum | Multi-Protocol Yield | $12.5M | 8.2% | 25,000 USDC | $25,000 | 164.38 USDC | $164.38 | Medium | |
| Upshift ETH Vault | Upshift | Ethereum | Liquid Staking + DeFi | $8.3M | 6.5% | 10.5 ETH | $25,200 | 0.34 ETH | $816 | Low | |
| Upshift BTC Vault | Upshift | Bitcoin | Wrapped BTC Lending | $15.2M | 4.8% | 0.75 BTC | $32,250 | 0.012 BTC | $516 | Low | |
| Upshift Multi-Asset Vault | Upshift | Arbitrum | Automated Rebalancing | $6.8M | 12.3% | Mixed Assets | $15,000 | Mixed | $184.50 | High |
Main page header component with title, subtitle, and metric displays. Includes Components Library access button. Responsive layout with flex wrapping on mobile.
File: app/components/Header.tsxTrack your decentralized finance positions and rewards
Total Portfolio Value
$245,680
Total Rewards (30d)
$1,850
Grid layout component for displaying three metric cards (CapitalFlowCard, VaultsRewardsCard, VaultsApyCard). Responsive 3-column grid that stacks on mobile. Representative of card grid patterns.
File: app/components/BottomMetrics.tsxVaults Capital Flow
+$0.00
Vaults Rewards
+$0.00
Vaults APY
0.00%
|+0.00%