Skip to main content

Card box

Settings​

SettingIDTypeDefaultDescription
Block classclasstext
Backgroundcard_bgcolor_background#ffffff
Border widthcard_border_widthrange1
Border colorcard_border_colorcolor#e5e7eb
Corner radiuscard_radiusselectrounded-2xl
Shadowcard_shadowselectsm
Paddingcard_paddingrange5Tailwind spacing scale 0-10 (1 = 4px, 10 = 40px). Uniform padding on all sides.
Hover effectcard_hoverselectup
Hover shadowcard_hover_shadowselectnone
Hover backgroundcard_bg_hovercolor_background#ffffff
Show in quick buyshow_in_quickbuycheckboxtrue

Option values​

  • Corner radius (card_radius): Square (rounded-none), Rounded small (rounded-md), Rounded medium (rounded-xl), Rounded large (rounded-2xl), Rounded extra large (rounded-3xl), Squircle (rounded-squircle), Circle (rounded-circle), Pill (rounded-full), Rounded top (rounded-top), Rounded bottom (rounded-bottom), Single corner (rounded-corner), Diagonal corners (rounded-diagonal), Arch (rounded-arch), Dome (rounded-dome), Cylinder (rounded-cylinder), Barrel (rounded-barrel), Leaf pointed (rounded-leaf-point), Leaf (rounded-leaf), Lens (rounded-lens), Petal (rounded-petal), Egg (rounded-egg), Egg inverted (rounded-egg-inverted), Shield (rounded-shield), Drop (rounded-drop), Diamond (rounded-diamond), Blob (rounded-blob), Amoeba (rounded-amoeba), Flower (rounded-flower), Mountain (rounded-mountain), Pebble (rounded-pebble), Bean (rounded-bean), Cloud (rounded-cloud)
  • Shadow (card_shadow): None (none), Small (sm), Medium (md), Large (lg)
  • Hover effect (card_hover): None (none), Lift up (up), Lift down (down), Scale up (scale_up), Scale down (scale_down)
  • Hover shadow (card_hover_shadow): None (none), Small (sm), Medium (md), Large (lg)

Presets​

  • Card box