Note
Design Philosophy: Professional, Institutional-Grade, Fluid. The interface should feel like a Bloomberg Terminal for DeFi—dense with data but clear in hierarchy.
A dark mode-first interface using deep blues and energetic Cyans for actions.
Color Palette
- Backgrounds:
Midnight Depth:#02040A(Main Background)Abyssal Plain:#0D111C(Card/Surface)Surface Level:#1A2235(Hover/Active)
- Primary Accents:
Electric Cyan:#00F2EA(Primary Action / Confirm)Tide Blue:#2979FF(Secondary / Links)
- Semantic Colors:
Growth Green:#00E396(Positive / Lend APY)Alert Amber:#FEB019(Warnings / High LTV)Liquidate Red:#FF4560(Errors / Danger)
- Headings: Inter (Weight: 700/600) — Sharp, modern sans-serif.
- Body: Inter (Weight: 400/500) — Highly readable.
- Numbers/Data: JetBrains Mono or Roboto Mono — Monospace for financial precision.
- Cards: Minimal borders (
1px solid #1A2235), subtle glassmorphism on active elements. - Buttons:
- Primary: Gradient Cyan-to-Blue background, black text.
- Secondary: Transparent with Cyan border.
- Inputs: Heavy inputs with integrated token selectors and "Max" buttons.
- Dashboard (Home) - User's active loans, total lending, net APY.
- Market: Lend (Order Book) - View
BorrowRequeststo fill. - Market: Borrow (Order Book) - View
LendOffersto fill. - My Intents - Manage open offers/requests.
- Analytics - Protocol-wide stats.
"Your Command Center"
- Top Summary Row:
- Net APY (Green ticker)
- Total Supplied (USD value)
- Total Borrowed (USD value)
- Health Factor (Gauge chart)
- Active Loans Table:
- Columns: Asset, Principal, Accrued Interest, Debt, LTV Bar, Time Remaining.
- Actions:
Repay,Add Collateral,View Note(NFT).
- Active Lending Table:
- Columns: Borrower (masked), Amount, APR, Earned Interest, Claimable.
- Actions:
Claim(if repaid),Sell Note(future).
"Earn Fixed Yield Instantly"
- Header: Filter by Asset (USDC, SUI, etc.), Duration, Min APR.
- Order Book (List of BorrowRequests):
- Sortable list of open requests waiting to be filled.
- Row Data:
- Collateral: 100 SUI
- Requesting: 500 USDC
- LTV: 65% (Green)
- APR: 8%
- Duration: 14d
- Action Column:
Fill Requestbutton.
- Create Intent (Maker):
- Floating Action Button (FAB) or Top Right Button: "Create Custom Lend Offer".
- Modal: "I want to lend [Amount] at min [Rate]%" -> Posts
LendOffer.
"Access Liquidity on Your Terms"
- Header: Filter by Collateral Type.
- Order Book (List of LendOffers):
- Row Data:
- Available: 50,000 USDC
- Max LTV: 80%
- Min APR: 6%
- Max Duration: 30d
- Action Column:
Borrowbutton.
- Row Data:
- Create Intent (Maker):
- Button: "Create Custom Borrow Request".
- Modal: "I want to borrow [Amount] against [Collateral] at max [Rate]%" -> Posts
BorrowRequest.
When clicking Fill Request (Lender Taker flow):
- Review:
- "You are lending 500 USDC."
- "You receive LoanNote #123 secured by 100 SUI."
- "Expected Profit: 1.53 USDC (8% APR / 14d)."
- Safety Check:
- Show current Oracle Price of SUI.
- Show Liquidation Price.
- Action:
Approve USDC->Confirm Fill.
- Status:
- "Principal: 500 USDC"
- "Interest: 1.53 USDC"
- "Total Due: 501.53 USDC"
- Action:
Repay Full Amount. - Result: "Loan Repaid. 100 SUI collateral returned to your wallet."
- Connect Wallet.
- Go to Market: Lend.
- Filter for "High Yield" (Sort by APR desc).
- See a request: "Borrow 1000 USDC @ 10% APR against SUI".
- Click
Fill. - Confirm Tx.
- Done. (LoanNote received, interest accruing).
- Connect Wallet.
- Click Create Custom Borrow Request.
- Input: "Borrow 5000 USDC".
- Input: "Collateral 3000 SUI".
- Input: "Max Rate 5%".
- Click
Post Request. - Wait: Intent is live. Direct matcher or Solver bot fills it later.
- Framework: React/ Next.js 14+ (App Router).
- Styling: TailwindCSS (with extensive custom config for "Deep Ocean" theme).
- State: TanStack Query (for data fetching).
- Sui Integration:
@misten/dapp-kit. - Components: Shadcn/UI (Customized).
- Icons: Lucide React.