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

@rei/cdr-card

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rei/cdr-card

REI Cedar Style Framework - Vue Component for Card

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

The basic card is intended as a container for grouping like content.

Examples

Simple card
<cdr-card>
  <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
</cdr-card>
Simple card with an inset to provide internal spacing
<cdr-card 
  wrapper-a="cdr-inset"
>
 <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
</cdr-card>
placing content in multiple slots
<cdr-card
 wrapper-b="cdr-inset"
 header
 headerClass="cdr-inset"
 footer
 footerClass="cdr-inset"
>
  <cdr-media-object
  level="3"
  media-url="http://rei.com"
  media-title="Article attribution"
  img-src="http://placehold.it/50x50"
  media-extend-style="cdr-card__media"
  media-img-shape="circle"
  modifier="center"
  slot="header">
  </cdr-media-object>
  <section slot="bodyB">
    <cdr-row cols="3" gutter="none">
     <cdr-col>
       <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
      <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
      <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
       <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
      <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
      <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
  </cdr-row>
</section>
<section slot="bodyC">
    <cdr-row cols="3" gutter="none">
     <cdr-col>
       <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
      <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
      <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
       <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
      <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
    <cdr-col>
      <cdr-img alt="" modifier="responsive" src="http://placehold.it/350x150"></cdr-img>
    </cdr-col>
  </cdr-row>
</section>
<cdr-media-object
  level="3"
  media-url="http://rei.com"
  media-title="Backpacking Tents: How to Choose"
  img-src="http://placehold.it/350x150"
  media-extend-style="cdr-card__media"
  media-img-shape="responsive"
  modifier="top block">
  </cdr-media-object>
  <cdr-button-group slot="footer">
    <cdr-button >B1</cdr-button>
    <cdr-button class="cdr-card__action" modifier="secondary">B2</cdr-button>
  </cdr-button-group>
</cdr-card>

FAQs

Package last updated on 05 Feb 2018

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