A styled card to put content inside.


20233.1.222 months ago4 years agoMinified + gzip package size for @crave/farmblocks-card in KB


Farmblocks Card

A styled card to put content inside.


npm install @crave/farmblocks-card


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



If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.