Back to Firefox Ios

``ComponentLibrary/ShadowCardView``

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

139.0694 B
Original Source

ComponentLibrary/ShadowCardView

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

Overview

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

Illustration

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

Topics

View Model

  • ShadowCardViewModel