A four-sided die, for tabletop rolls, role-playing games and random picks. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.
<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="M14.4051 4.3922C13.3181 2.536 10.6819 2.536 9.5949 4.3922L2.4006 16.6777C1.2854 18.5822 2.6307 21 4.8057 21L19.1943 21C21.3693 21 22.7146 18.5822 21.5994 16.6777L14.4051 4.3922ZM12 3L12 14M2.3693 19.553L12 14L21.6307 19.553"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- d4
- four sided die
- tetrahedron
- tabletop
- rpg
- roll
- polyhedral
- random
- chance
- game
- luck
Related icons
Closest to dice-d4 first: its name counts most, then what people search for it by, then the rest of the Shapes shelf.
FAQ
Answered from dice-d4's own facts: its shelf, the styles it was drawn in, its siblings and its dates.
- What is the dice-d4 icon for?
- A four-sided die, for tabletop rolls, role-playing games and random picks. It is filed under Shapes in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as d4, four sided die, tetrahedron, tabletop, rpg, roll, polyhedral, random, chance, game and luck, and the browser's search matches all of those.
- What styles does the dice-d4 icon come in?
- All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
- Is there a square or circle version of dice-d4?
- No. dice-d4 is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with dice-d4?
- dice-d8, dice-d10, dice-d12, dice-2, dice-4 and dice-3, and 12 more, all shown below. Closest to dice-d4 first: its name counts most, then what people search for it by, then the rest of the Shapes shelf.
- How do I import dice-d4 in React?
- <DiceD4 /> is the component, and the style decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <DiceD4 size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the dice-d4 SVG?
- icons/stroke/dice-d4.svg, icons/two-tone/dice-d4.svg, icons/duotone/dice-d4.svg and icons/fill/dice-d4.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
- When was dice-d4 added to the set?
- Added 25 Nov 2026. It is not in a tagged release yet: it is on the site and in the repository, and the next version will carry it.
Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.