TrademarkTrademarkDocs
Ctrl k
Search docs...
Components

CompareImage

Updated: May 4, 2025
View on GitHub
The CompareImage component supports ReactNode for the content.
Prop
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
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club