🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@vygruppen/spor-card-react

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vygruppen/spor-card-react

Cards are used to encapsulate some information, or as interactive elements in our UI.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Card (React)

Cards are used to encapsulate some information, or as interactive elements in our UI.

Installation

$ npm install @vygruppen/spor-card-react

Usage

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

Cards come in three different variants - filled, outlined and elevated. If you specify the filled variant, you need to specify a colorScheme as well. The available color schemes are blue, green and grey.

<Card variant="elevated">I'm an elevated card</Card>
<Card variant="outlined">I'm an outlined card</Card>
<Card variant="filled" colorScheme="blue">I'm a filled card</Card>

You can also pass any style props you want, like padding or borderRadius.

Development

Please refer to the root readme for development notes.

FAQs

Package last updated on 05 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts