Develop ultra fast with Prismane 🎉

Card API

Learn about the Card component's props and CSS classes.

Import

import { CardProps, CardHeaderProps, CardFooterProps } from "@prismane/core";

Props

Card

Card extends Paper component's props.

NameTypeDescriptionDefault
shadowbooleanTriggers the card's shadow.-

Card.Header

Card.Header extends Flex component's props.

Card.Footer

Card.Footer extends Flex component's props.

CSS

Card

Card extends Paper component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneCard-rootThe wrapper box of the card.

Card.Header

Card.Header extends Flex component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneCardHeader-rootThe wrapper box of the card's header component.

Card.Footer

Card.Footer extends Flex component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneCardFooter-rootThe wrapper box of the card's footer component.