<button class="my-2 btn btn-secondary">Button</button>
{% render "@button" with { "style": "secondary" } %}
{
  "id": "button",
  "type": "button",
  "style": "primary",
  "title": "Button",
  "enabled": true
}
  • Content:
    .btn {
      &-apply {
        @include button-variant(
          $secondary,
          $secondary,
          $primary,
          $white,
          $secondary,
          $secondary,
          $white,
          $secondary,
          $secondary
        )
      }
    }
  • URL: /components/raw/button/button.scss
  • Filesystem Path: src/components/01-elements/forms/elements/button/button.scss
  • Size: 210 Bytes
  • Handle: @button--secondary
  • Preview:
  • Filesystem Path: src/components/01-elements/forms/elements/button/button--secondary.html.twig
  • References (1): @button

No notes defined.