Pashizi

HTML Integration - Iranian Rial Exchange Rate Calculator Widget

Embed IRR currency converter in any website with 2 lines of HTML code. Real-time rates for 28+ currencies.

🌟 Widget Features

💱
Real-time Rates
Live exchange rates for 28+ currencies against Iranian Rial (IRR)
🧮
Interactive Calculator
Built-in currency converter for quick calculations
🌍
Multi-language
Support for 10 languages including Persian (Farsi)
📱
Responsive Design
Mobile-friendly and adapts to any screen size
Easy Integration
Simple HTML div and script tag - no complex setup
🎨
Customizable
Add custom CSS classes and styling options
🔗

Ready to Integrate?

Copy the HTML snippet below and start displaying real-time Iranian Rial exchange rates on your website in seconds!

⚡ Quick Start

html
<div data-pashizi-widget data-lang="en" data-base="usd"></div>
javascript
<script src="https://widget.pashizi.com/calculator?currency=usd&lang=en"></script>
2
Lines of Code
28+
Currencies
10
Languages

🎮 Interactive HTML Demo

Try different currency and language combinations to see how the HTML integration works with live previews and get the exact code.

🎮INTERACTIVE DEMO CONFIGURATOR

Customize & Preview Live

Choose your preferred currency and language to see the widget in action. Copy the integration code for your setup.

Live
flag usUSD
flag gbEnglish

Live Widget Demo

📋 Integration Code

HTML Integrationhtml
<!-- Widget Container -->
<div 
  data-pashizi-widget 
  data-lang="en" 
  data-base="usd">
</div>

<!-- Widget Script -->
<script 
  src="https://widget.pashizi.com/calculator?currency=usd&lang=en" 
  async defer>
</script>

📝 Usage Examples

1. Basic Usage
Simple widget with default settings (USD in English)
html
<div data-pashizi-widget data-lang="en" data-base="usd"></div>
javascript
<script src="https://widget.pashizi.com/calculator?currency=usd&lang=en"></script>
2. EUR in English
Euro exchange rates with English interface
html
<div data-pashizi-widget data-lang="en" data-base="eur"></div>
javascript
<script src="https://widget.pashizi.com/calculator?currency=eur&lang=en"></script>
3. USD in Persian
US Dollar rates with Persian (Farsi) interface
html
<div data-pashizi-widget data-lang="fa" data-base="usd"></div>
javascript
<script src="https://widget.pashizi.com/calculator?currency=usd&lang=fa"></script>
4. With Custom CSS Class
British Pound with custom styling
html
<div data-pashizi-widget data-lang="en" data-base="gbp" class="my-custom-widget"></div>
javascript
<script src="https://widget.pashizi.com/calculator?currency=gbp&lang=en"></script>

🚀 Integration Guide

1️⃣Add HTML Container
Place the widget container where you want the calculator to appear:
html
<div data-pashizi-widget data-lang="en" data-base="usd"></div>
2️⃣Add Script Tag
Include the script tag before closing </body> tag:
javascript
<script src="https://widget.pashizi.com/calculator?currency=usd&lang=en"></script>

⚙️ Advanced Configuration

Data Attributes
AttributeDescriptionExample
data-pashizi-widgetRequired identifier for the widgetdata-pashizi-widget
data-langLanguage code for the interfacedata-lang="en"
data-baseBase currency codedata-base="usd"
classOptional CSS classes for stylingclass="my-widget"
Script Parameters
The script URL must match the data attributes:
text
https://widget.pashizi.com/calculator?currency=[CURRENCY]&lang=[LANGUAGE]

💰 Supported Currencies (28+)

Use these currency codes in the 'data-base' attribute and script URL parameter. All rates are displayed against Iranian Rial (IRR).

💡 Usage Example

data-base="eur" → currency=eur
flag usUS Dollar
usd
flag euEuro
eur
flag gbBritish Pound
gbp
flag jpJapanese Yen
jpy
flag chSwiss Franc
chf
flag caCanadian Dollar
cad
flag auAustralian Dollar
aud
flag sgSingapore Dollar
sgd
flag hkHong Kong Dollar
hkd
flag noNorwegian Krone
nok
flag seSwedish Krona
sek
flag dkDanish Krone
dkk
flag myMalaysian Ringgit
myr
flag ruRussian Ruble
rub
flag trTurkish Lira
try
flag inIndian Rupee
inr
flag cnChinese Yuan
cny
flag aeUAE Dirham
aed
flag thThai Baht
thb
flag qaQatari Riyal
qar
flag saSaudi Riyal
sar
flag omOmani Rial
omr
flag bhBahraini Dinar
bhd
flag kwKuwaiti Dinar
kwd
flag iqIraqi Dinar
iqd
flag azAzerbaijani Manat
azn
flag afAfghan Afghani
afn
flag amArmenian Dram
amd

🌍 Supported Languages (10)

Use these language codes in the 'data-lang' attribute and script URL parameter to display the widget interface in different languages.

💡 Language Selection Example

data-lang="fa" → lang=fa
flag gbEnglish
en
flag irPersian - فارسی
fa
flag deGerman - Deutsch
de
flag aeArabic - العربية
ar
flag esSpanish - Español
es
flag frFrench - Français
fr
flag itItalian - Italiano
it
flag nlDutch - Nederlands
nl
flag ruRussian - Русский
ru
flag cnChinese - 中文
zh

⚠️ Important Notes

  • Only one widget with a specific language and currency combination is allowed per page. For example, if there is already a widget with data-lang="en" and data-base="usd" on the page, a second widget with the same combination will not work.
  • To display multiple widgets, use different lang or currency values for each widget.
  • The script parameters (currency and lang) must match the corresponding data attributes exactly.
  • Include only one script tag per unique currency-language combination.