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

@custom-element/card

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@custom-element/card

card with MD/CE

unpublished
latest
Source
npmnpm
Version
0.2.6
Version published
Maintainers
1
Created
Source

Card

Material Design Spec

A card is a sheet of material that serves as an entry point to more detailed information.

Installation

Browser

Just add the following script(< 2kb gzipped/polyfill in it) to your website. It will add CSS only once if required.

<script defer src="https://unpkg.com/@custom-element/card"></script>

npm

$ npm install @custom-element/card

import '@custom-element/card'; // import and use it

Examples

<a-card>
  <div class="title">
    <h1>Title Goes Here</h1>
    <div class="subtitle">Subtitle here</div>
  </div>
  <div class="text">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
    in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  </div>
  <div class="actions">
    <a href="javascript:void(0)">ACTION 1</a>
    <a href="javascript:void(0)">ACTION 2</a>
  </div>
</a-card>

Keywords

customElement

FAQs

Package last updated on 11 Dec 2017

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