Skip to content

You're reading the docs for Draftbit Classic (v1), our previous builder. In Draftbit today, you describe the app you want and the agent writes real code you own.

Deck Swiper Card

The Deck Swiper Card component is nested inside a Deck Swiper component. It’s a type of layout container comparable to a View. For each item in the array that you pass to the Deck Swiper’s Data prop, a Deck Swiper Card will be rendered.

Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.

PropertyDescription
Component nameThe name of the component as it appears in the Screen’s component tree

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.