Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@purpurds/card

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@purpurds/card

import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";

  • 5.10.0
  • npm
  • Socket score

Version published
Weekly downloads
503
decreased by-35.6%
Maintainers
0
Weekly downloads
 
Created
Source

import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";

import * as CardStories from "./src/card.stories"; import { Card } from "./src/card"; import packageInfo from "./package.json";

Card

Version {packageInfo.version}

Showcase

Properties

Card
Badge
ContentContainer
Content
FeatureList
LinkArrow
Overline

Installation

Via NPM

Add the dependency to your consumer app like "@purpurds/purpur": "^x.y.z"

In MyApp.tsx

import "@purpurds/purpur/styles";

In MyComponent.tsx

import { Card } from "@purpurds/purpur";

export const MyComponent = () => {
  return (
    <Card href="/?path=/docs/components-card--docs" screenReaderText="Browse to tips and tricks">
      <Card.ContentContainer>
        <Card.Badge variant="information" text="Best hit" />
        <Card.Content>
          <Card.Overline overline="TELIA" />
          <Card.FeatureList listItems={["test 1", "test 2", "test 3"]} />
          <Card.LinkArrow size="md" variant="secondary" iconOnly />
        </Card.Content>
      </Card.ContentContainer>
    </Card>
  );
};

FAQs

Package last updated on 25 Jul 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc