% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/flipbook.R
\name{nhm_flipbook}
\alias{nhm_flipbook}
\title{Create a flipbook navigation component}
\usage{
nhm_flipbook(..., id = "flipbook")
}
\arguments{
\item{...}{One or more \code{nhm_flipbook_page()} elements.}

\item{id}{Character. A unique ID for the flipbook. The current page
number (1-indexed) is available as a Shiny input via
\code{input$<id>_page}.}
}
\value{
A \code{shiny.tag} div element.
}
\description{
Wraps multiple \code{nhm_flipbook_page} elements into a full-page
flipbook with prev/next arrow buttons and dot indicators in a fixed
bottom navigation bar, matching the NHM UHI dashboard style.
}
\details{
The first page is shown by default. Users can navigate with the
arrow buttons, clicking dots, or using keyboard arrow keys.
}
\examples{
\dontrun{
nhm_flipbook(
  id = "main",
  nhm_flipbook_page(title = "Overview",  h2("Page 1"), p("Hello")),
  nhm_flipbook_page(title = "Analysis",  h2("Page 2"), plotOutput("p")),
  nhm_flipbook_page(title = "Thank You", h2("Thanks!"))
)
}
}
