🇳🇵 Nepal Election Widget
Election Results, Embeddable Anywhere
Add live Nepal election results to your website with a simple iframe embed. Filter by province, district, and constituency — or let your users explore interactively.
📖 Embed Documentation
Copy any of the code snippets below and paste them into your HTML to embed the election widget.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
province | number (1-7) | No | Province number to filter results |
district | string | No | District name in Nepali (e.g., झापा, काठमाडौं) |
const | number | No | Constituency number within the district |
compact | boolean | No | Set to true for a smaller, compact layout |
Full Widget
RecommendedPre-filtered to a specific province, district, and constituency. Shows complete election results with candidate details.
HTML
<iframe
src="https://election-widget.roshanmainali.com.np/widget?province=1&district=झापा&const=5"
width="100%"
height="700"
style="border:none; border-radius:16px; overflow:hidden;"
></iframe>Live Preview
Compact Mode
CompactA smaller, condensed version perfect for sidebars or smaller containers. Shows key results without extra details.
HTML
<iframe
src="https://election-widget.roshanmainali.com.np/widget?province=3&district=काठमाडौं&const=1&compact=true"
width="100%"
height="500"
style="border:none; border-radius:16px;"
></iframe>Live Preview
Interactive (User Selects Filters)
InteractiveNo pre-set filters — users can choose their own province, district, and constituency. Best for full-page embeds.
HTML
<iframe
src="https://election-widget.roshanmainali.com.np/widget"
width="100%"
height="800"
style="border:none; border-radius:16px;"
></iframe>Live Preview