Icons

Mingcute Magic Hat Line Icon

IconStash indexes the Magic Hat Line icon from Mingcute alongside 134,701 icons from 28 open-source libraries. It uses stroked lines with no fill — clean, legible, and versatile at any size, making it well suited for rich text editors, design tools, image editors, drawing apps, content creation platforms, and creative suites. Set an exact pixel size from 16px to 512px and download a lossless PNG in one click.

Interactive Customizer

1.5px
128px

About this icon

Use the Magic Hat Line icon

The Magic Hat Line icon from Mingcute fits naturally in rich text editors, design tools, image editors, drawing apps, content creation platforms, and creative suites. Its outline style makes it ideal for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical.

Open it in IconStash to set stroke color via presets or a custom hex value, choose an exact pixel size (16–512px), control stroke width (0.1–3px), and preview against dark, light, or checkered backgrounds before downloading.

Export formats

Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.

All exports are based on the same editable vector — so the Magic Hat Line icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

MingCute draws Magic Hat Line with soft, slightly rounded terminals that read as friendly rather than technical. Most concepts ship in both line and filled versions, which is useful when one icon needs to signal both an inactive and an active state without you sourcing a second set.

UX best practices

In editors and design tools, the Magic Hat Line icon belongs in a toolbar where it can carry a tooltip and a keyboard-shortcut hint. Keep editing affordances visually lighter than the content they act on; when the chrome competes with the canvas, users lose track of their own work.

Use in your project

React / npm — Mingcute

npm install @mingcute/icon-react

import { MagicHatLineLine } from '@mingcute/icon-react';

// JSX usage:
<MagicHatLineLine size={24} />

Copy the SVG markup directly from the IconStash editor to use the Magic Hat Line icon without any npm package — paste it into HTML, JSX, or a design tool.

Inline SVG (copy & paste)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="magic-hat-line icon"><g fill="none"><path d="m12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036q-.016-.004-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092q.019.005.029-.008l.004-.014l-.034-.614q-.005-.019-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z"/><path fill="currentColor" d="M15.541 4.16a1 1 0 0 1 .458.876l-.013.132l-.718 4.225a2 2 0 0 0 .03.813l.059.197l1.81 5.05c.88.174 1.66.4 2.267.677c.366.167.724.376 1.004.646c.281.271.562.683.562 1.224c0 .848-.663 1.37-1.12 1.64c-.523.309-1.214.553-1.98.744c-1.548.387-3.634.616-5.9.616s-4.352-.229-5.9-.616c-.766-.191-1.457-.435-1.98-.744C3.663 19.37 3 18.848 3 18c0-.54.28-.953.562-1.224c.28-.27.638-.48 1.004-.646c.532-.243 1.195-.446 1.942-.61l.326-.068l2.46-6.866a4 4 0 0 1 1.318-1.815l.206-.149l3.622-2.45a1 1 0 0 1 1.101-.013Zm-.118 12.356C14.44 16.83 13.247 17 12 17s-2.44-.17-3.423-.484l-.055.154a1 1 0 0 1-.778.65c-1.037.171-1.836.396-2.348.63c-.1.045.054.129.282.216l.21.073l.326.102l.372.103C7.933 18.781 9.848 19 12 19c2.009 0 3.81-.19 5.137-.49l.32-.077l.329-.092l.216-.066l.218-.072c.28-.1.497-.202.384-.253c-.512-.234-1.31-.459-2.348-.63a1 1 0 0 1-.778-.65zM13.622 7.14l-1.683 1.14a2 2 0 0 0-.693.814l-.069.168l-1.925 5.37c.72.221 1.67.37 2.748.37c.959 0 1.816-.118 2.5-.298l.248-.071l-1.274-3.555a4 4 0 0 1-.213-1.765l.035-.254zm5.6-.709a5.64 5.64 0 0 0 1.907 2.219l.226.147c.263.16.308.206.078.358l-.078.049a5.64 5.64 0 0 0-2.01 2.124l-.229.449c-.11.191-.168.145-.338-.208a5.64 5.64 0 0 0-1.907-2.219l-.226-.146c-.286-.176-.29-.222-.072-.362l.072-.045a5.64 5.64 0 0 0 2.133-2.366c.17-.353.227-.399.338-.208l.067.128zM7.597 3.665l.07.123c.314.58.788 1.076 1.376 1.445l.226.131c.192.105.231.136.07.232l-.07.04a4 4 0 0 0-1.477 1.363l-.201.344c-.077.116-.118.106-.188-.008l-.07-.122a3.9 3.9 0 0 0-1.376-1.445l-.34-.199c-.071-.048-.077-.08-.007-.132l.12-.073a4 4 0 0 0 1.478-1.363l.125-.213c.132-.243.174-.269.264-.123"/></g></svg>

Library & related icons

About MingCute Icons

3,300+ high-quality icons with both line and filled variants. Clean, modern aesthetic designed for polished product interfaces and design systems.

  • Total icons: 3,352+
  • Style: multi-style
  • License: Apache 2.0
  • npm package: @mingcute/icon-react
Browse all 3,352 MingCute Icons icons →

People also search for

Frequently asked questions

What is the Magic Hat Line icon?

The Magic Hat Line icon is a outline-style SVG icon from the Mingcute library, categorized under Editing. It is designed for use in rich text editors, design tools, image editors, drawing apps, content creation platforms, and creative suites. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.

Is the Magic Hat Line icon free to use?

Yes. Mingcute is licensed under Apache 2.0, making it free for personal and commercial use. This means you can freely use the Magic Hat Line icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.

How do I use the Magic Hat Line icon in React?

Install the package with `npm install @mingcute/icon-react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.

What is the Mingcute icon library?

3,300+ high-quality icons with both line and filled variants. Clean, modern aesthetic designed for polished product interfaces and design systems. It contains 3,352+ icons. IconStash indexes the complete Mingcute collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the Magic Hat Line icon as a PNG?

Yes. Open the Magic Hat Line icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.

What does the outline icon style mean?

An icon in outline style uses stroked lines with no fill — clean, legible, and versatile at any size. This style is best suited for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical. The Mingcute Magic Hat Line icon follows this visual convention throughout the Mingcute design system.

Can I change the Magic Hat Line icon's color and size before downloading?

Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.