Mahjong
The mahjong icon represents the popular Chinese tile-based game Mahjong, which is often played for recreation and social interaction.
Exports at 24 × 24 px
Code
Mahjong in your framework
In any framework. Customize it above, and the code follows.
export const MahjongIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="#E5E4DF" d="M423.403 512H88.597c-7.953 0-14.4-6.447-14.4-14.4V18.117c0-7.953 6.447-14.4 14.4-14.4h334.806c7.953 0 14.4 6.447 14.4 14.4V497.6c0 7.953-6.447 14.4-14.4 14.4"/><path fill="#FF473E" d="M367.514 135.232c-8.45-3.856-18.151-1.421-23.885 5.32l-83.549 14.142a838 838 0 0 0-.219-6.025c-.34-8.44-.782-16.23-1.364-23.254c-.63-7.03-1.338-13.293-2.358-18.759c-1.011-5.462-2.213-10.189-4.127-14.582l-.727-1.587l-.172-.363l-.125-.245l-.175-.323a33 33 0 0 0-2.07-3.307l-.638-.867l-.19-.226l-.655-.769c-6.169-7.218-17.013-8.444-24.624-2.586c-7.626 5.871-9.21 16.653-3.769 24.468c.002.01 0 .021.004.031c.122.349.969 2.953 1.673 6.966a230 230 0 0 1 2.25 15.666c.727 6.327 1.377 13.637 1.953 21.682c.229 3.203.445 6.528.65 9.953l-57.792 9.782c-.109-.19-.217-.379-.32-.555l-.391-.644c-.122-.196-.147-.208-.219-.313l-.749-1.004c-4.267-5.736-12.19-7.682-18.721-4.256c-7.23 3.793-10.017 12.729-6.224 19.96l.063.119l.582 1.11c.032.069.135.233.117.239l-.066-.005a.3.3 0 0 1-.107-.045a.2.2 0 0 1-.039-.038c-.005 0 .044.154.066.227q.082.281.196.583c.074.181.157.449.244.738l.278.881l.669 2.226c.458 1.697 1.043 3.662 1.603 5.969c.611 2.267 1.205 4.824 1.874 7.554a475 475 0 0 1 2.064 8.713c1.38 6.114 2.66 12.766 3.923 19.446a857 857 0 0 1 3.362 19.751l1.397 9.132l1.032 7.317a11 11 0 0 0-.119 1.715c.024 1.486.344 2.898.899 4.183l.248 1.898l.641 5.327l.528 4.631l.023.22a8.721 8.721 0 0 0 17.353-.22l.438-4.928l.033-.431l50.3-.813l.27 24.343l.278 31.777l.335 29.743l.381 26.673c.089 8.264.285 15.845.684 22.572c.382 6.726.915 12.598 1.472 17.436c.565 4.838 1.142 8.644 1.585 11.239c.448 2.597.753 3.98.753 3.98c.648 2.905 2.908 5.334 6.004 6.035a7.95 7.95 0 0 0 9.506-5.995l.009-.039s.31-1.369.765-3.932c.461-2.566 1.069-6.327 1.716-11.12a358 358 0 0 0 1.843-17.304c.569-6.687.98-14.24 1.317-22.485l1.203-26.638l1.219-29.76c.435-10.326.741-21.002 1.077-31.855l.696-25.171l88.741-1.434c6.077-.099 10.924-5.104 10.826-11.182c-.066-4.003-2.278-7.461-5.504-9.335c.298-2.846.75-6.855 1.363-11.637c1.253-9.839 3.239-22.934 5.898-35.645a332 332 0 0 1 2.107-9.391a253 253 0 0 1 2.315-8.87c.799-2.829 1.612-5.523 2.444-7.993c.413-1.239.812-2.444 1.236-3.558c.412-1.129.803-2.224 1.219-3.211c.791-2.035 1.582-3.766 2.278-5.26l1-2.01c.287-.527.505-.844.712-1.222l.282-.505l.064-.118l.119-.197l.233-.384l.761-1.254l.634-1.044l.086-.138q.576-.962 1.052-2.006c4.654-10.206.156-22.253-10.048-26.909m-147.535-27.354a6.8 6.8 0 0 1-.982-1.421c.124.174.233.355.364.526l.203.263l.617.801c.042.056.126.159.141.188a7 7 0 0 1-.343-.357m113.632 56.693c-.393 1.41-.727 2.847-1.076 4.336c-.372 1.512-.688 3.051-1.014 4.632c-.66 3.166-1.242 6.462-1.779 9.852c-.54 3.39-1.005 6.863-1.436 10.378a368 368 0 0 0-1.097 10.601c-1.254 14.149-1.704 28.102-1.804 38.57c-.053 5.154-.03 9.452.012 12.516l-65.199 1.054c.11-6.266.195-12.513.28-18.705c.135-10.886.218-21.61.233-32.005c.014-9.977-.03-19.642-.153-28.867zm-106.286 41.676c.288 10.242.518 20.845.703 31.63l.269 19.15l-49.109.794c.03-2.787.063-5.7.022-8.707a587 587 0 0 0-.186-10.276c-.092-3.501-.264-7.057-.44-10.619c-.2-3.562-.381-7.131-.683-10.648c-.277-3.517-.599-6.99-.951-10.365c-.355-3.376-.74-6.658-1.209-9.791c-.31-2.054-.665-4.031-1.043-5.943l51.808-8.769c.314 7.562.586 15.439.819 23.544"/>
</svg>
);Other libraries
Mahjong in 1 more libraries
Each library draws it its own way. Open one to compare.
Firefox OS Emoji
More like it
Icons that share its tags, in the same style.
Search Firefox OS Emoji
Skip the copy and paste. With Pro, your AI agent finds and installs any Firefox OS Emoji icon from a prompt.
Get ProTags
Browse by tag
Mahjong is tagged social, entertainment, game and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Firefox OS Emoji MCP, with Pro
Ask for Mahjong or any of 1,034 Firefox OS Emoji icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Mahjong icon means and where it's used, then how to install, style, label and license it.
The mahjong icon represents the popular Chinese tile-based game Mahjong, which is often played for recreation and social interaction. Mahjong tiles are characterized by their distinctive designs, which include suits, honors, and bonus tiles. This icon is likely used in digital contexts to evoke the game or to represent themes related to strategy, puzzle-solving, and social gaming.
In software and digital platforms, the mahjong icon might appear in applications or websites related to gaming, entertainment, or cultural experiences. For example, a social media platform might use this icon to represent a gaming group or a community centered around Mahjong.
From a UX perspective, the mahjong icon communicates a sense of fun, strategy, and social interaction. It can help users quickly identify content or features related to gaming or recreation, making it easier for them to navigate and engage with digital products.
Mahjong is one of 1,034 icons in Firefox OS Emoji, made by Mozilla and released under Apache 2.0. It is drawn on a 512 × 512 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds MahjongIcon to components/icons/fxemoji-mahjong.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed MahjongIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Mahjong icon, or any of 1,034 Firefox OS Emoji icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 512 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Mahjong", so screen readers say what it does.
Yes. MahjongIcon passes every SVG prop to the svg element, so <MahjongIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. Apache 2.0 allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: Apache 2.0 only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Firefox OS Emoji, Mozilla and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
1 other library draws an icon called Mahjong. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are social, entertainment, game, recreation, strategy and puzzle. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Mahjong in another set.
4.9 out of 5 from 150+ developers
Install Mahjong from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro