Build Reusable Pug Components with Mixins and Content Blocks
Stop copying button markup across Pug templates. Mixins with parameters and block slots let you define a UI component once and reuse it with different labels, variants, and caller-supplied content.