Skip to content
TrademarkTrademark
Docs
Components

CompareImage

Updated: May 4, 2025
View on GitHub

The CompareImage component supports ReactNode for the content.

Type
Default
leftContentrequired
What shows on the left of the divider.
SideContent—
rightContentrequired
What shows on the right.
SideContent—
aspectRatio
Frame ratio, held as the width changes.
string—
unoptimized
Skip the framework image optimizer.
boolean—
…and every FlexProps propinherited—
Edit this page on GitHub