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

@patternfly/pfe-card

Package Overview
Dependencies
Maintainers
10
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternfly/pfe-card

Cards for PatternFly Elements

  • 0.0.0-test.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
281
increased by27.15%
Maintainers
10
Weekly downloads
 
Created
Source

PFElements Card Element

Usage

<pfe-card>
  <h2 slot="header">RH Card</h2>
  This is the pfe-card body.
  <div slot="footer">Text in footer</div>
</pfe-card>

Slots

header

If this slot is used, we expect a heading level tag (h1, h2, h3, h4, h5, h6) to be used here.

Default slot (body)

Any content that is not designated for the header or footer slot, will go to this slot.

Use this slot for anything that you want in the footer of the card.

Test

npm run test

Build

npm run build

Demo

From the PFElements root directory, run:

npm start

Code style

Card (and all PFElements) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.

Keywords

FAQs

Package last updated on 23 Apr 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

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