JSFiddle - React, Tailwind, and code Playground

HTML

<div class="left-corner"></div>

CSS

.left-corner{
    width: 0;
    height: 0;
    border-bottom: 15px solid #000;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    position: relative;
}