• Lightest
  • Light
  • Dark
  • Darkest
  • Medium
  • Large
  • LTR
  • RTL

Pagination - Button Style

Component status
Contribution
Last releasedOctober 20, 2020
Current version@spectrum-css/pagination@3.0.0-beta.6

Variants


CTA
Contribution

Show markup
<nav class="spectrum-SplitButton spectrum-SplitButton--left">
  <a href="#" class="spectrum-Button spectrum-Button--cta spectrum-SplitButton-trigger spectrum-Pagination-prevButton">
    <svg class="spectrum-Icon spectrum-UIIcon-ChevronLeftMedium" focusable="false" aria-hidden="true" aria-label="ChevronLeft">
      <use xlink:href="#spectrum-css-icon-ChevronLeftMedium"></use>
    </svg>
  </a>
  <a href="#" class="spectrum-Button spectrum-Button--cta spectrum-SplitButton-action spectrum-Pagination-nextButton">
    <span class="spectrum-Button-label">Next</span>
    <svg class="spectrum-Icon spectrum-UIIcon-ChevronRightMedium" focusable="false" aria-hidden="true" aria-label="ChevronLeft">
      <use xlink:href="#spectrum-css-icon-ChevronRightMedium"></use>
    </svg>
  </a>
</nav>

Primary
Contribution

Show markup
<nav class="spectrum-SplitButton spectrum-SplitButton--left">
  <a href="#" class="spectrum-Button spectrum-Button--primary spectrum-SplitButton-trigger spectrum-Pagination-prevButton">
    <svg class="spectrum-Icon spectrum-UIIcon-ChevronLeftMedium" focusable="false" aria-hidden="true" aria-label="ChevronLeft">
      <use xlink:href="#spectrum-css-icon-ChevronLeftMedium"></use>
    </svg>
  </a>
  <a href="#" class="spectrum-Button spectrum-Button--primary spectrum-SplitButton-action spectrum-Pagination-nextButton">
    <span class="spectrum-Button-label">Next</span>
    <svg class="spectrum-Icon spectrum-UIIcon-ChevronRightMedium" focusable="false" aria-hidden="true" aria-label="ChevronLeft">
      <use xlink:href="#spectrum-css-icon-ChevronRightMedium"></use>
    </svg>
  </a>
</nav>

Secondary
Contribution

Show markup
<nav class="spectrum-SplitButton spectrum-SplitButton--left">
  <a href="#" class="spectrum-Button spectrum-Button--secondary spectrum-SplitButton-trigger spectrum-Pagination-prevButton">
    <svg class="spectrum-Icon spectrum-UIIcon-ChevronLeftMedium" focusable="false" aria-hidden="true" aria-label="ChevronLeft">
      <use xlink:href="#spectrum-css-icon-ChevronLeftMedium"></use>
    </svg>
  </a>
  <a href="#" class="spectrum-Button spectrum-Button--secondary spectrum-SplitButton-action spectrum-Pagination-nextButton">
    <span class="spectrum-Button-label">Next</span>
    <svg class="spectrum-Icon spectrum-UIIcon-ChevronRightMedium" focusable="false" aria-hidden="true" aria-label="ChevronLeft">
      <use xlink:href="#spectrum-css-icon-ChevronRightMedium"></use>
    </svg>
  </a>
</nav>