JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box  box--thin">
  border-width: thin;
</div>

<div class="box  box--medium">
  border-width: medium;
</div>

<div class="box  box--thick">
  border-width: thick;
</div>

SCSS

.box {
  margin-bottom: 10px;
  width: 200px;
  height: 50px;
  color: indigo;
  line-height: 50px;
  text-align: center;


  border: solid;
  
  &--thin {
    border-width: thin;
  }
  &--medium {
    border-width: medium;
  }
  &--thick {
    border-width: thick;
  }
}