Socket
Book a DemoInstallSign in
Socket

@cebus/react-card

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cebus/react-card

The Card component displays content and presents actions to the user.

0.0.6
latest
Source
npmnpm
Version published
Weekly downloads
4
Maintainers
2
Weekly downloads
 
Created
Source

Card

The Card component displays content and presents actions to the user.

Use

  • Install the @cebus/react-card component.

Using NPM

npm install @cebus/react-card

Using Yarn

yarn add @cebus/react-card
  • Install the @cebus/react-provider and our theme tokens from @cebus/react-theme

  • Set up the provider in your app:

import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
  • Integrate the Card component.
import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'
import { Card } from '@cebus/react-card'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Card>Hello World</Card>
    <Provider>
  )
}

API

To learn more about the Card API take a look at the Card Interface file.

FAQs

Package last updated on 08 Jul 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.