notsobigcompany / BigUIPaging

A collection of SwiftUI views for handling pages of content
252 stars 14 forks source link

[Request] Vertical Card Stack #6

Open coratype opened 1 month ago

coratype commented 1 month ago

this package is the best implementation of the horizontal card stack swipe i've seen, i'm curious how difficult it would be to create essentially a vertical version of the card stack where instead of having to swipe horizontally, create a vertical stack of cards that have a similar effect but respond to vertical swipes? also i'm not sure if i'm doing something wrong but the scale effect from the example for the card stack does not seem to show more of the edges of the cards it just scales the view down. i uploaded simple example where im just rotating it and it does work but not ideal

https://github.com/user-attachments/assets/d44a2d53-fb61-4fee-889c-5feebf24cd13

coratype commented 4 weeks ago

also I'm not sure what I'm missing but text appears to be smaller than it actually should be when rendered in a card stack? The deck builder appears to scale down card stacks by 0.8 by default, and i'm not sure how youre supposed to set up a custom style?