Skip to content

How to customize the Item Card

Mkdirs support two kinds of Item Card: Card with Image (default) and Card with Icon.

Item Card with Image (item-card.tsx):

Item Card with Image

Item Card with Icon (item-card-2.tsx):

Item Card with Icon

Card with Image is the default style, and you can change it to Card with Icon by setting the NEXT_PUBLIC_SUPPORT_ITEM_ICON to true in the .env file.

# -----------------------------------------------------------------------------
# Website configuration
# -----------------------------------------------------------------------------
# show item icon in item grid, default is false (aka, show item cover image)
NEXT_PUBLIC_SUPPORT_ITEM_ICON=true