This currency converter app provides a clean and modern interface that makes converting money between different countries simple and intuitive. At the top, users can enter the amount they want to convert, followed by two dropdown menusโone for the source currency and one for the target currency. Each dropdown is enhanced with a country flag icon ๐บ๐ธ๐ฎ๐ณ, making it easier to quickly recognize currencies at a glance. The center also includes a swap/flip button ๐, allowing users to instantly reverse the currency direction without manually changing both fields.
Once the currencies and amount are selected, users can tap the โGet Exchange Rateโ button to fetch the latest conversion value. The result appears neatly below, showing the exact conversion in a clear and bold formatโe.g., 100 USD = 9002.51 INR. The overall design combines a glassy card effect with a futuristic background, creating a stylish and user-friendly experience. The interface not only looks visually appealing but also ensures smooth usability for anyone who wants quick and accurate currency conversions.
This is a sample screenshot showing how the website looks
- Convert any amount between global currencies.
- Flag-based currency dropdowns for better identification.
- Swap/flip button to reverse currency direction instantly.
- Real-time conversion using Exchange Rate API.
- Glass-effect UI with futuristic design.
- Responsive layout for mobile and desktop.
- Fast performance with React + Vite.
Currency-Converter
โโโ public
โ โโโ assets
โ โ โโโ image1.png
โ โ โโโ image2.png
โโโ src
โ โโโ components
โ โ โโโ ConverterForm.jsx
โ โ โโโ CurrencySelect.jsx
โ โโโ App.jsx
โ โโโ index.css
โ โโโ main.jsx
โโโ index.html
โโโ package.json
โโโ vite.config.js
โโโ README.mdFollow the steps below to run this project locally.
git clone https://github.com/chkrishnaa/Currency-Converter.gitcd Currency-Converternpm installClick "Get Free API Key"
After signup, the dashboard will show your key and their request that are hide in red boxes given below. You didnt need to copy the request URL. Noly need to copy the API key written in Hexademical format.

Create a .env file in your root directory and then you folder structure becomes:
Currency-Converter
โโโ public
โ โโโ assets
โ โ โโโ image1.png
โ โ โโโ image2.png
โโโ src
โ โโโ components
โ โ โโโ ConverterForm.jsx
โ โ โโโ CurrencySelect.jsx
โ โโโ App.jsx
โ โโโ index.css
โ โโโ main.jsx
โโโ .env ### .env file is created
โโโ index.html
โโโ package.json
โโโ vite.config.js
โโโ README.mdNow paste your Exchange Rate API Key in this .env file:
VITE_EXCHANGE_RATE_API_KEY=your_api_key_herenpm run devYour app will run at:
http://localhost:5173npm run build
