How to create a custom slide layout with centered alignment in Slick Slider for React?

I am using the slick slider library in my React project. I want to slide my elements like in the image below, but with slick slider, there is no way to structure it like this. If I set rows: 2, the alignment is equal in both rows. enter image description here

import React from "react";
import immobiliare from "assets/images/idealista_white.png";
import idealista from "assets/images/idealista_white.png";
import wikicisa from "assets/images/wikicisa_white.png";
import casa from "assets/images/casa_white.png";
import trovacasa from "assets/images/trovacasa_white.png";
import mioaffitto from "assets/images/mioaffitto_white.png";
import plusFiftyPortali from "assets/images/plus_fifty_portali.png";
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";
import Slider from "react-slick";

const App = () => {
  const settings = {
    dots: false,
    infinite: true,
    speed: 500,
    slidesToShow: 6,
    slidesToScroll: 1,
    rows: 2,
    autoplay: false,
    autoplaySpeed: 2000,
    arrows: false,
  };

  return (
    
          <Slider {...settings}>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={immobiliare} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={idealista} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={wikicisa} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={casa} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={trovacasa} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={mioaffitto} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={plusFiftyPortali} alt="brand_image" />
            </div>   <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={immobiliare} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={idealista} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={wikicisa} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={casa} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={trovacasa} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={mioaffitto} alt="brand_image" />
            </div>
            <div className="w-[203px] h-[203px] rounded-[10px] bg-[#FFFFFF1A] flex mr-[10px] items-center justify-center">
              <img src={plusFiftyPortali} alt="brand_image" />
            </div>
          </Slider>
     
  );
};

export default App;

My question is: What are the possibilities to structure elements like in the image and slide both rows?

Thanks in advance for checking it out. I really appreciate it!

I have tried using multiple rows, but the structure of the elements is not as I want. The alignment of the elements in both rows is the same, but I want the second row’s alignment to be centered beneath the first element in the first row. I expected the second row to shift to the center under the first element, but it didn’t. Here is the link to the documentation I followed: https://react-slick.neostack.com/docs/example/multiple-rows

My question is: How can I structure the elements to achieve the desired layout and slide both rows accordingly?

New contributor

Nayeem Dev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật