• Index
  • Core
    • button
    • link
    • base-header
    • base-section
    • img
    • icon
    • swiper-arrows
    • splide-arrows
    • cta-button
    • tooltip
    • badge
    • pagination-arrow
    • pagination
    • splide-arrows
    • footer-social
    • footer-column
    • footer
    • share
    • share-button
    • overview-button
    • energy-label
    • breadcrumbs
    • side-menu
    • modal
    • review-feedback
    • feedback
  • Sections
    • category-cards-section
    • real-estate-section
    • dev-project-slide-section
    • re-agency-description-section
    • re-agency-detail-branches-section
    • usp-section
    • link-navigation-section
    • posts-slide-section
    • dev-project-slide-section
    • filter-table-section
    • highlited-broker-section
    • broker-detail-section
    • real-estate-agency-header-section
    • real-estate-agency-content-section
    • base-section-side-menu
    • estates-slide-section
    • re-agency-form-section
    • map-section
    • broker-review-slide-section
    • estate-detail-content-section
    • category-nav-section
    • usp-base-section
    • post-detail-section
    • re-agents-section
    • posts-section
    • estates-content-section
    • estate-info-section
    • estate-detail-intro-section
  • Items
    • category-card-item
    • statistical-item
    • usp-item
    • overview-item
    • dev-project-slide-item
    • count-item
    • star-item
    • rating-item
    • broker-meta-item
    • highlighted-broker-item
    • post-slide-item
    • more-posts-item
    • broker-chart-item
    • contact-item
    • pagination-item
    • estate-slide-item
    • branch-item
    • broker-review-item
    • review-chart-item
    • broker-review-response-item
    • social-link-item
    • re-agents-item
    • estate-item
    • info-item
    • estate-detail-intro-item
  • Forms
    • input-field
    • search-field
    • radio
    • radio-fieldset
    • checkbox
    • checkbox-fieldset
    • switch
    • dropdown
    • textarea
    • option-switch
  • Subsections
    • current-info-subsection

Links

Default

  • Preview
  • Twig
  • Html
  • Read more
  •         {% include "@Components/link/link.twig" with {
      props : {
        title: "Read more",
        href: "https://www.google.com/"
      }
    } %}
    
          
  •           <a class="link --black" href="#" href="https://www.google.com/">
      <span class="link__title">
        <span class="link__title-wrap">Read more</span>
      </span>
    
      </a>
    
            

With icon

  • Preview
  • Twig
  • Html
  • Read more
  •         {% include "@Components/link/link.twig" with {props: {
        title: "Read more",
        href: "https://www.google.com/",
        animation: "right",
        icon: {
          src: "svg/chevron-right.svg",
          size: "xs"
        }
      }
    } %}
    
          
  •           <a class="link --black  --animation-right" href="#" href="https://www.google.com/">
      <span class="link__title">
        <span class="link__title-wrap">Read more</span>
      </span>
    
          <div class="link__icon">
          <span class="icon  --xs">
      <svg aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512">
        <path fill="currentColor" d="M17.525 36.465l-7.071 7.07c-4.686 4.686-4.686 12.284 0 16.971L205.947 256 10.454 451.494c-4.686 4.686-4.686 12.284 0 16.971l7.071 7.07c4.686 4.686 12.284 4.686 16.97 0l211.051-211.05c4.686-4.686 4.686-12.284 0-16.971L34.495 36.465c-4.686-4.687-12.284-4.687-16.97 0z"></path>
    </svg>
      </span>
        </div>
      </a>
    
            

Icon left

  • Preview
  • Twig
  • Html
  • Read more
  •         {% include "@Components/link/link.twig" with {
      props : {
        title: "Read more",
        href: "https://www.google.com/",
        animation: "zoom",
        iconBefore: true,
        icon: {
          src: "svg/clock.svg",
          size: "sm"
        }
      }
    } %}
    
          
  •           <a class="link --black --icon-before --animation-zoom" href="#" href="https://www.google.com/">
      <span class="link__title">
        <span class="link__title-wrap">Read more</span>
      </span>
    
          <div class="link__icon">
          <span class="icon  --sm">
      <svg aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
    <path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216zm-148.9 88.3l-81.2-59c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h14c6.6 0 12 5.4 12 12v146.3l70.5 51.3c5.4 3.9 6.5 11.4 2.6 16.8l-8.2 11.3c-3.9 5.3-11.4 6.5-16.8 2.6z" >
    </path>
    </svg>
      </span>
        </div>
      </a>
    
            

Primary color

  • Preview
  • Twig
  • Html
  • Read more
  •         {% include "@Components/link/link.twig" with {
      props : {
        title: "Read more",
        href: "https://www.google.com/",
        color: "primary",
      }
    } %}
    
          
  •           <a class="link --primary" href="#" href="https://www.google.com/">
      <span class="link__title">
        <span class="link__title-wrap">Read more</span>
      </span>
    
      </a>
    
            

Conversion color

  • Preview
  • Twig
  • Html
  • Read more
  •         {% include "@Components/link/link.twig" with {
      props : {
        title: "Read more",
        href: "https://www.google.com/",
        color: "conversion",
      }
    } %}
    
          
  •           <a class="link --conversion" href="#" href="https://www.google.com/">
      <span class="link__title">
        <span class="link__title-wrap">Read more</span>
      </span>
    
      </a>
    
            

Light gray color

  • Preview
  • Twig
  • Html
  • Read more
  •         {% include "@Components/link/link.twig" with {
      props : {
        title: "Read more",
        href: "https://www.google.com/",
        color: "light-gray",
      }
    } %}
    
          
  •           <a class="link --light-gray" href="#" href="https://www.google.com/">
      <span class="link__title">
        <span class="link__title-wrap">Read more</span>
      </span>
    
      </a>
    
            

Gray color

  • Preview
  • Twig
  • Html
  • Read more
  •         {% include "@Components/link/link.twig" with {
      props : {
        title: "Read more",
        href: "https://www.google.com/",
        color: "gray"
      }
    } %}
    
          
  •           <a class="link --gray" href="#" href="https://www.google.com/">
      <span class="link__title">
        <span class="link__title-wrap">Read more</span>
      </span>
    
      </a>
    
            

Schema

    {
  "props": {
    "title": {
      "type": "string",
      "description": "Title of the component"
    },
    "color": {
      "type": "string",
      "description": "primary (default) | black | light-gray"
    },
    "extraClass": {
      "type": "string",
      "description": "extra class of button"
    },
    "url": {
      "type": "string",
      "description": "Url address (default # if tag is a)"
    },
    "animation": {
      "type": "string",
      "description": "right | zoom"
    },
    "iconBefore": {
      "type": "boolean",
      "description": "Set if icon will be before text"
    },
    "iconOnly": {
      "type": "boolean",
      "description": "Make button icon only."
    },
    "icon": {
      "type": "object",
      "props": {
        "src": "string",
        "description": "path to icon"
      }
    }
  }
}