% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/flip_card.R
\name{nhm_flip_card}
\alias{nhm_flip_card}
\title{Create an NHM-styled flip card}
\usage{
nhm_flip_card(
  front,
  back,
  front_title = NULL,
  back_title = NULL,
  tag = NULL,
  height = "320px",
  hint = NULL,
  bg_image = NULL,
  bg_opacity = 0.3
)
}
\arguments{
\item{front}{UI elements to place on the front of the card.}

\item{back}{UI elements to place on the back of the card.}

\item{front_title}{Optional character. Title displayed on the front.}

\item{back_title}{Optional character. Title displayed on the back.}

\item{tag}{Optional character. Small uppercase tag text shown on both sides.}

\item{height}{CSS height for the card. Defaults to \code{"320px"}.}

\item{hint}{Character or \code{NULL}. Optional hint text shown at the
bottom of both sides. Defaults to \code{NULL} (no hint).}

\item{bg_image}{Optional character. URL or path to a background image
shown on the front face with a faded overlay.}

\item{bg_opacity}{Numeric. Opacity of the background image (0 to 1).
Defaults to \code{0.3}.}
}
\value{
A \code{shiny.tag} div element.
}
\description{
A card with a front and back side that flips on click, matching the
reference NHM dashboard design.
}
