terra vidhal

Loan Amortization

Component

About

A loan planner with range and exact inputs, a live monthly payment, total interest and payoff time, extra-payment savings, a principal-versus-interest cost split, an animated balance curve and a paginated amortization schedule.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Loan Amortization to your project and fits it to your theme.

Code

How Loan Amortization is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import { LoanAmortization } from "@/components/ui/loan-amortization";

export default function LoanAmortizationDemo() {
  return (
    <main className="flex min-h-screen w-full items-start justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-8 sm:px-6">
      <LoanAmortization
        defaultAmount={280000}
        defaultRate={4.8}
        defaultYears={30}
        defaultExtra={150}
        title="Home loan planner"
      />
    </main>
  );
}

Dependencies

More by terra vidhal

View all
  • Project Timeline

    Project Timeline

    30
  • Kanban Board

    Kanban Board

    20
  • Gravity Stars Background

    Gravity Stars Background

    20
  • Booking Calendar

    Booking Calendar

    18
  • Notification Center

    Notification Center

    16
  • Audio Waveform

    Audio Waveform

    16
  • Kpi Counter

    Kpi Counter

    16
  • Topographic Lines

    Topographic Lines

    16

Explore more

Part of PrequelUI Animate — browse the full library on 21st.dev.