limestone/Card
Provides Limestone styled card components and behaviors.
Loading Live Preview
Loading Live Preview
Members
Section titled “Members ”Card Component
Section titled “Card   Component ”A Limestone-styled Card.
Usage:
<Card
src="https://placehold.co/100x100/9037ab/ffffff/png?text=Image0"
label="A secondary caption"
>
The primary caption
</Card> Extends:
limestone/Cardlimestone/Card.CardBase
Wrapped with:
limestone/Cardlimestone/Card.CardDecorator
CardBase Component
Section titled “CardBase   Component ”A Limestone styled base component for limestone/Cardlimestone/Card.Card.
Extends:
ui/Cardui/Card.Card
Properties
Source for the image. String value or Object of values used to determine which image will appear on a specific screenSize.
aria-label
Section titled “aria-label”The "aria-label" for the Card.
Sources for the image icon.
An array of String values or Objects of values used to determine which image will appear on
a specific screenSize. This prop is only used when orientation is 'vertical'.
captionImageSize
Section titled “captionImageSize”The size of the caption images.
The following properties should be provided:
height- The height of the imagewidth- The width of the image
captionOverflow
Section titled “captionOverflow”Determines whether the caption will overflow the card container or not.
It only applies when orientation is 'vertical' and captionOverlay and captionOverlayOnFocus is false.
captionOverflowOnFocus
Section titled “captionOverflowOnFocus”Determines whether the caption will overflow the card container and show only on card focus.
It only applies when orientation is 'vertical' and captionOverlay and captionOverlayOnFocus is false.
captionOverlay
Section titled “captionOverlay”Determines whether the caption will be placed over the image or not.
It only applies when orientation is 'vertical'.
captionOverlayOnFocus
Section titled “captionOverlayOnFocus”Determines whether the caption will be placed over the image and shown only on card focus.
It only applies when orientation is 'vertical'.
centered
Section titled “centered”Centers the captions when imageIconSrc is not provided.
centeredTitle
Section titled “centeredTitle”Centers the title and imageIconSrc horizontally and vertically.
It only applies when captionOverlay or captionOverlayOnFocus is true.
children
Section titled “children”The primary caption displayed with the image.
Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
disabled
Section titled “disabled”Disables Card and becomes non-interactive.
duration
Section titled “duration”Media's entire duration in seconds.
durationOverlay
Section titled “durationOverlay”Determines whether the Duration will be placed over the image or not.
fitImage
Section titled “fitImage”Fits the image to its height and width and positions it on the center of the Card.
hasContainer
Section titled “hasContainer”Set to true to display a container with background color.
When orientation is 'horizontal', this prop is always true and provided value will be ignored.
Icon used when selected is true
Source for the image icon.
String value or element or Object of values used to determine which image will appear on
a specific screenSize. This prop is only used when orientation is 'vertical' or centeredTitle is true.
imageSize
Section titled “imageSize”The size of the image.
The following properties should be provided:
height- The height of the imagewidth- The width of the image
A secondary caption displayed with the image.
Icons to be included with the secondary caption.
Typically, up to 3 icons are used.
The layout orientation of the component.
Default: 'vertical'placeholder
Section titled “placeholder”A placeholder image to be displayed before the image is loaded.
The primary badge.
The size of the primary badge. Can be a number or an object with specific dimensions. The following properties should be provided for the object:
height- The height of the badgewidth- The width of the badge
progress
Section titled “progress”The progress displayed inside the ProgressBar
progressBarOverlay
Section titled “progressBarOverlay”Determines whether the ProgressBar will be placed over the image or not.
roundedImage
Section titled “roundedImage”Set to true to display the image with rounded corners.
The secondary badge.
The size of the secondary badge. Can be a number or an object with specific dimensions. The following properties should be provided for the object:
height- The height of the badgewidth- The width of the badge
secondaryLabel
Section titled “secondaryLabel”A ternary caption displayed with the image.
Icons to be included with the ternary caption.
Typically, up to 3 icons are used.
selected
Section titled “selected”Applies a selected visual effect to the image.
showDuration
Section titled “showDuration”Activates the 'Duration'.
showProgressBar
Section titled “showProgressBar”Activates the 'ProgressBar'.
splitCaption
Section titled “splitCaption”Splits the captions in two sections. This prop is only used when
captionOverlayOnFocus or captionOverlay is true and orientation is 'vertical'.
withoutMarquee
Section titled “withoutMarquee”Removes the marquee effect of caption and label text.
CardDecorator Higher-Order Component
Section titled “CardDecorator   Higher-Order Component ”Limestone-specific card behaviors to apply to limestone/Cardlimestone/Card.Card.
Includes:
limestone/Marqueelimestone/Marquee.MarqueeController
Includes:
spotlight/Spottablespotlight/Spottable.Spottable
Includes:
limestone/Skinnablelimestone/Skinnable.Skinnable