Peel Card

Card front retracts on hover revealing vibrant content underneath.

Component Showcase

Interactive Playground

Adjust sliders and values to preview changes in real-time

width

The width of the peel card.

height

The height of the peel card.

peelTitle

The title shown on the front peel layer. Set this prop to your own title text.

peelCategory

The small category text on the front layer.

peelHint

The helper text on the front layer.

revealTitle

The title revealed underneath the peel.

revealDesc

The description text revealed underneath the peel.

API Reference (Props)

Component properties and type specifications

PropTypeDefaultDescription
widthstring | number288The width of the peel card.
heightstring | number208The height of the peel card.
peelTitlestring"Rind Peel Card"The title shown on the front peel layer. Set this prop to your own title text.
peelCategorystring"Component"The small category text on the front layer.
peelHintstring"Hover to reveal"The helper text on the front layer.
revealTitlestring"Fresh 🍉"The title revealed underneath the peel.
revealDescstring"Underneath the rind, something juicy."The description text revealed underneath the peel.