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

@ausbom/card

Package Overview
Dependencies
Maintainers
5
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ausbom/card

> Image cards can have the variation of title alone, description alone, or both together. Horiztonal tiled images have an aspect ratio of 16:9, vertical images have an aspect ratio of 2:4. Images must be photographs, not charts, with no white backgrounds.

  • 0.2.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30
decreased by-73.21%
Maintainers
5
Weekly downloads
 
Created
Source

@ausbom/card

Image cards can have the variation of title alone, description alone, or both together. Horiztonal tiled images have an aspect ratio of 16:9, vertical images have an aspect ratio of 2:4. Images must be photographs, not charts, with no white backgrounds.

When cards don’t include an image they should use a title with description text as mandatory fields. 
They also include an arrow to indicate it is clickable. Use this card type sparingly for specific components, such as a group of child links. The description has a max of 160 characters.

Installation

npm install @ausbom/card

Usage

import Card from '@ausbom/card'
import React from 'react'
import image from './image.png'
import ExternalLink16 from '@ausbom/icon/lib/icons/system/ExternalLink16'

<Card
  image={(<img src={image} alt="placeholder alt text" />)}
  title="Card with image and no text"
  id="card-image-1"
  href="#"
/>

<Card
  title="Gender Equality"
  id="card-image-2"
  href="/gender-equality"
  titleTag="h4"
  icon={ExternalLink16}
>
  <p>The Bureau strives to be the model of an inclusive culture where diversity is valued to provide better outcomes for our people, customers and the community. </p>
</Card>

FAQs

Package last updated on 05 Dec 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