@crave/farmblocks-card

3.1.25 • Public • Published

Farmblocks Card

A styled card to put content inside.

Installation

npm install @crave/farmblocks-card

API

Property Description Type Default
floating if present, the card drops a bigger shadow boolean false
type the type of card (reflects on background color) string (one of "FEATURED", "NEUTRAL", "DEFAULT") DEFAULT
width a css value to be used as width string 100%
p padding. See reference number 2
overflow a css value to be used as overflow string visible
children the contents of the card React.Node
boxShadow specifies a custom border shadow. Please note that this will override floating property string

Peer dependencies

  • react
  • prop-types
  • styled-components
  • styled-system

License

MIT

/@crave/farmblocks-card/

    Package Sidebar

    Install

    npm i @crave/farmblocks-card

    Weekly Downloads

    1,254

    Version

    3.1.25

    License

    MIT

    Unpacked Size

    6.18 kB

    Total Files

    8

    Last publish

    Collaborators

    • viniciusmartin
    • luis.nascimento
    • seocam
    • vnakamura
    • alcferreira
    • imwra