'How show more than one item per page with ant design (NG-Zorro) carousel?

everyone,

How to show more than one item per page with ant design (NG-Zorro) carousel. https://ng.ant.design/components/carousel/en

I want to show something like this - Multiple Items

https://ng.ant.design/components/carousel/en



Solution 1:[1]

Meybe you In the file css you have to remove line-height: :

Solution 2:[2]

If you want to show more than one item per page you can simply set slidesToShow property to the desired number.

  <Carousel slidesToShow={3}>
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
  </Carousel>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SWEM
Solution 2 Mahyar Zarifkar