Skip to content

Asymmetric center mode #4347

@indreksiitan

Description

@indreksiitan

Hi,

My designer has come up with a design that would be easiest solved with Slick and its center mode, however he wants a bit of the next slide to be visible:

https://www.dropbox.com/scl/fi/urhgdny20sdf38x2os5k6/Screenshot-2025-11-10-at-18.20.21.png?rlkey=ixpbyf51oceoozhfsbe0nwi0q&dl=0

Can this be achieved somehow? I only managed to make it work if the centerPadding amount of pixels of the new card is visible:

https://www.dropbox.com/scl/fi/u5eqphzd6ykretrgn34dl/Screenshot-2025-11-10-at-18.24.10.png?rlkey=ywr3j11cv45e6sdgrjt09mpgy&dl=0

If I make the card narrower, there's more empty space between the cards. If I increase centerPadding, also padding to the left is added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions