Copy environment

Availability

<div class="availability">
    <span class="availability__bullet"></span>
    <span class="availability__text">Saadaval</span>
</div>
{% set BEM -%}
    availability
    {%- if modifier %} {{ modifier }}{% endif %}
    {%- if class %} {{ class }}{% endif %}
{%- endset %}
<div class="{{ BEM }}">
    <span class="availability__bullet"></span>
    <span class="availability__text">{{ data.text }}</span>
</div>
{
  "language": "en-US",
  "data": {
    "text": "Saadaval"
  }
}
  • Content:
    .availability__bullet {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 8px;
        border-radius: $border-radius-round;
        background-color: $L-text-success;
    }
    
  • URL: /components/raw/availability/availability.scss
  • Filesystem Path: src/patterns/components/availability/availability.scss
  • Size: 189 Bytes
  • Handle: @availability--default
  • Filesystem Path: src/patterns/components/availability/availability.twig
  • Referenced by (1): @rental-modal