Back to Firefox Ios

``ComponentLibrary/CardView``

BrowserKit/Sources/ComponentLibrary/Documentation.docc/General Components/CardView.md

139.0668 B
Original Source

ComponentLibrary/CardView

The card view which is used to contain different types of content.

Overview

CardView is a subclass of UIView. You should configure the card view content, accessibility identifier and background color through its view model CardViewModel. The rounded corners and padding around the content of the view shouldn't be adjusted and should be used as is. For a card that has a shadow, please see ShadowCardView.

Illustration

This image is illustrative only. For precise examples of iOS implementation, please run the SampleApplication.

Topics

View Model

  • CardViewModel