- Category
- general
- Styles
- Outline
- Component
- IconAsterisk
- License
- MIT · Paweł Kuna
- Files
-
outline/asterisk.svg
Asterisk icon
Download the Asterisk icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- star
- required
- password
- wildcard
- footnote
- symbol
- mandatory
Size
Stroke
Color
Code
Copy it the way you use it
asterisk.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 12l8 -4.5" />
<path d="M12 12v9" />
<path d="M12 12l-8 -4.5" />
<path d="M12 12l8 4.5" />
<path d="M12 3v9" />
<path d="M12 12l-8 4.5" />
</svg> Use the Asterisk icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconAsterisk } from '@tabler/icons-react';
<IconAsterisk size={24} stroke={2} />Read the React guideVue example
import { IconAsterisk } from '@tabler/icons-vue';
<IconAsterisk :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconAsterisk } from '@tabler/icons-svelte-runes';
<IconAsterisk size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related