New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ds-kit/card

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ds-kit/card

Grid component

latest
npmnpm
Version
4.1.0
Version published
Maintainers
3
Created
Source

title: "Card" slug: "/packages/card" category: "cards" componentNames:

  • "Card"

Card

The Card component is a low-level helper component used by the more complex card components (AppCard, StoryCard, UpdateCard, etc.).

import { Card } from "@ds-kit/card"

Basic example

The simplest use case of a card looks like this.

<Card>Basic cards are invisible</Card>

Raised Card

Cards can have a drop shadow and rounded corners. The p prop can be used to add padding.

<Card interactive raised borderRadius="lg" p="2.5rem">
  Card content
</Card>

FAQs

Package last updated on 22 Aug 2019

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