app/pb_kits/playbook/pb_card/docs/_card_props_swift

Props

Name Type Description Default Values
Background Color Color Changes background color .card Color
Border Bool Adds border around the Card true true false
Border Radius CGFloat Specifies the roundness of the Card BorderRadius.medium BorderRadius.none BorderRadius.xSmall BorderRadius.small BorderRadius.medium BorderRadius.large BorderRadius.xLarge BorderRadius.rounded
Highlight Highlight Adds a border accent color .none Color
Padding CGFloat Applies padding between text and border Spacing.medium Spacing.none Spacing.xxSmall Spacing.xSmall Spacing.small Spacing.medium Spacing.large Spacing.xLarge
Style PBCardStyle Specifies the color of the border .default .default .selected .error .inline
Shadow Shadow Applies shadow nil Shadow.deep Shadow.deeper Shadow.deepest Shadow.none