# BaseHoverBox

A box for information display after mouse hover or click

# Props

Prop name Description Type Values Default
title The title of the item in question, also used as img alt text
(atm - TODO: should there be a separate alt text (then again - what would that be since
file uploads dont have any properties)?)
string - 'No title'
subtext Text displayed directly below title (max one line; max 2 lines with title) string - ''
showTitle should the title be displayed or box only display the image boolean - true
boxText Specify text that should be displayed in the info box, should be an array of strings array - []
imageUrl image url string - null
description descriptive element displayed at bottom of box (e.g. item type like "Bilderserie") string - null
selectable determines if the box should be selectable and the checkbox is displayed boolean - false
boxSize specify the size of the box object - {
width: '212px',
height: '212px'
}

# Demo

Last Updated: 3/27/2023, 4:42:24 PM