JSFiddle - React, Tailwind, and code Playground

HTML

<div class="arrow"></div>

CSS

.arrow {
  display: inline-block;
  border: 20px solid transparent;
  border-left-color: green;
}