gentleface

Gentleface › Text & formatting › asterisk

asterisk icon

Asterisk: asterisk, required, wildcard, footnote. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.724 9.947C3.598 10.01 3.47 10.02 3.341 9.977C3.212 9.934 3.116 9.85 3.053 9.724C2.99 9.598 2.98 9.47 3.023 9.341C3.066 9.212 3.15 9.116 3.276 9.053L6.382 7.5L3.276 5.947C3.153 5.885 3.069 5.789 3.026 5.658C2.982 5.527 2.991 5.4 3.053 5.276C3.115 5.153 3.211 5.069 3.342 5.026C3.473 4.982 3.6 4.991 3.724 5.053L7 6.691L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 6.691L11.276 5.053C11.402 4.99 11.53 4.98 11.659 5.023C11.788 5.066 11.884 5.15 11.947 5.276C12.009 5.4 12.018 5.527 11.974 5.658C11.931 5.789 11.847 5.885 11.724 5.947L8.618 7.5L11.724 9.053C11.85 9.116 11.934 9.212 11.977 9.341C12.02 9.47 12.01 9.598 11.947 9.724C11.884 9.85 11.788 9.934 11.659 9.977C11.53 10.02 11.402 10.01 11.276 9.947L8 8.309L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 8.309L3.724 9.947Z"/></svg>
React
// Gentleface "asterisk" (line-round), MIT. https://gentleface.com/icons/asterisk
import type { SVGProps } from 'react';

export function AsteriskIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M3.724 9.947C3.598 10.01 3.47 10.02 3.341 9.977C3.212 9.934 3.116 9.85 3.053 9.724C2.99 9.598 2.98 9.47 3.023 9.341C3.066 9.212 3.15 9.116 3.276 9.053L6.382 7.5L3.276 5.947C3.153 5.885 3.069 5.789 3.026 5.658C2.982 5.527 2.991 5.4 3.053 5.276C3.115 5.153 3.211 5.069 3.342 5.026C3.473 4.982 3.6 4.991 3.724 5.053L7 6.691L7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3C7.641 3 7.759 3.048 7.856 3.144C7.952 3.241 8 3.359 8 3.5L8 6.691L11.276 5.053C11.402 4.99 11.53 4.98 11.659 5.023C11.788 5.066 11.884 5.15 11.947 5.276C12.009 5.4 12.018 5.527 11.974 5.658C11.931 5.789 11.847 5.885 11.724 5.947L8.618 7.5L11.724 9.053C11.85 9.116 11.934 9.212 11.977 9.341C12.02 9.47 12.01 9.598 11.947 9.724C11.884 9.85 11.788 9.934 11.659 9.977C11.53 10.02 11.402 10.01 11.276 9.947L8 8.309L8 11.5C8 11.641 7.952 11.759 7.856 11.856C7.759 11.952 7.641 12 7.5 12C7.359 12 7.241 11.952 7.144 11.856C7.048 11.759 7 11.641 7 11.5L7 8.309L3.724 9.947Z" />
    </svg>
  );
}
Vue
Vue: see /icons/asterisk.md
Svelte
Svelte: see /icons/asterisk.md
HTML img
HTML img: see /icons/asterisk.md
CSS
CSS: see /icons/asterisk.md
Data URL
Data URL: see /icons/asterisk.md
Sprite
Sprite: see /icons/asterisk.md
SwiftUI
SwiftUI: see /icons/asterisk.md
Compose
Compose: see /icons/asterisk.md
Android XML
Android XML: see /icons/asterisk.md
Flutter
Flutter: see /icons/asterisk.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
asterisk, required, wildcard, footnote, required field, mandatory, glob
Alternatives
  • multiply: the multiplication operator (multiply)
  • text-footnote: the insert-footnote command of a document editor (Word, Docs): text lines with a raised mark
Don’t confuse with
  • star: star means favorite or rating
Also fits
  • regex: a simple * wildcard rather than a full pattern (wildcard)
Tags
asterisk, star, symbol, required, mandatory, wildcard, footnote, annotation
Category
Text & formatting
Component name
AsteriskIcon
History
  • added

More text & formatting icons

For agents

Metadata: /icons/asterisk.json · Markdown: /icons/asterisk.md · SVG: https://gentleface.com/svg/{style}/16/asterisk.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/asterisk.png

Feedback