Avara UI

Shadcn Hover Peek

An editorial manifesto typography section with interactive word hovers that smoothly reveal a slow-zooming physical deck of 8 stacking nature images.

When the user hovers over any highlighted bold phrase, a card viewport smoothly zooms in from the text center like a modal, progressively dropping 8 nature images one on top of another with organic alternating physical tilts and depth.

Hover Peek Section

Editorial statement typography with interactive word hovers that progressively pile an 8-card nature deck with alternating physical tilts.

badge"(Our Philosophy)"
top eyebrow text tag displayed in uppercase tracking.
statement"We shape **organic sanctuaries**..."
markdown bold phrases automatically connect to corresponding image sets.
highlightsHoverPeekHighlight[]
array of 8 nature image URLs per highlighted word.

Installation

New project? Follow the installation guide to set up Tailwind CSS, shadcn, the cn helper and lucide-react, register the @avara-ui registry once, then copy your styles from the Themes page.

Install Hover Peek

npx shadcn@latest add https://avaraui.com/r/hover-peek.json

components/custom/blocks/HoverPeekBlock.tsx is written into your project. Copy any snippet from a Usage tab above and it runs.

Install dependencies

Nothing beyond the shared setup — Hover Peek needs only the cn helper and lucide-react, which the installation guide already put in place.

Props Reference

PropTypeDefaultDescription
badgestring"(Our Philosophy)"Eyebrow label displayed above the typography statement.
statementstringDEFAULT_STATEMENT

The manifesto statement string. Words enclosed in word will be rendered as interactive highlights.

highlightsHoverPeekHighlight[]DEFAULT_HOVER_PEEK_HIGHLIGHTS

Array of highlight items, each with id, word, and an array of 8 nature images.

cardWidthnumber220Width of each image card in the floating stack popover.
cardHeightnumber280Height of each image card in the floating stack popover.
stackIntervalnumber160Delay (in ms) between consecutive cards dropping onto the stack.
themeColorstringundefinedCustom theme accent color applied to the badge, active word, and underline decorations.