Fun & Quizzes#445Verified Pro

Minesweeper Puzzle

Add a fast, zero-dependency Minesweeper game to any page or sidebar. Features Beginner, Intermediate, Expert, and Custom boards with guaranteed mine-free first-click opening, flood reveal, chord clicking, keyboard grid navigation, touch long-press flagging, localStorage best times, and 7 original visual skins.

Customize Widget

Live preview active
Content5 options
Beginner 9x9/10, Intermediate 16x16/40, Expert 30x16/99, or Custom
Board width when level=custom (5-30)
Board height when level=custom (5-24)
Mine count when level=custom (clamped to cells-9)
Heading override
Layout8 options
Tile size in pixels (20-44) or auto-fit
Padding and spacing
Base UI font size
Horizontal alignment
Style8 options
Original board theme
Light/dark mode
Active button and focus ring color
Card border radius in px
Card elevation depth
Outer border weight
Typography stack
Transition speed
Behavior2 options
Localization1 option
auto uses host html lang
Advanced1 option
Live Interactive Preview

Copy and paste this snippet anywhere before the closing </body> tag:

<script src="https://100widgets.com/js.php?id=445" async></script>

Place this container where you want the widget to render, plus the script tag:

<div data-widget="minesweeper"></div>
<script src="https://100widgets.com/w/445.js" defer></script>

Step-by-Step Installation Guides

Need platform-specific instructions for embedding this widget? Read our quick step-by-step guides:

HTML / Any SiteWordPressShopifyWixSquarespaceWebflowGoogle Tag ManagerView All 18 Guides →

Key Features

Customizable Minesweeper Puzzle with 25+ configuration options
Self-contained vanilla JavaScript with zero external dependencies
Works in both Mode A (container) and Mode B (script tag) embed modes
Full keyboard navigation and screen-reader accessibility
Light and dark color mode support with auto-detection
Fully responsive on mobile, tablet, and desktop viewports

How to Install in 3 Easy Steps

1

Customize

Adjust the colors, position, and text above to match your website design and branding.

2

Copy Code

Click "Copy" on the generated embed code snippet. No installation or registration needed.

3

Paste & Publish

Paste the snippet into your HTML, WordPress, Shopify, Webflow, or Wix page.

Frequently Asked Questions

How do I add Minesweeper Puzzle to my website?

Simply copy the generated embed code snippet and paste it into your site HTML where you want the widget to appear.

Does this widget require jQuery or other libraries?

No, all 100Widgets components are completely standalone and have zero external dependencies.

Is this widget free to use?

Yes, it is 100% free for personal and commercial websites.