Skip to content
Vy logo
  • Spor
  • Resources
ComponentsDeprecated

Card

Card is deprecated. Use StaticCardEkstern lenke or PressableCardEkstern lenke instead.

Cards are flexible components used to group and display content in a clear and concise format. They might be clickable or static.

GitHubReact NativeFigma
This component is deprecated

Code

<Card />

import { Card } from "@vygruppen/spor-react";

A simple card

Props

Name
Type
Required?
Description
childrenReact.ReactNodeThe content of the card
colorScheme"white" | "grey" | "blue" | "green" | "teal" | "yellow" | "orange"Default "white"
size"sm" | "lg"Default "lg"