Skip to contentGet startedTokensComponents@hackclub/theme@hackclub/tokens@hackclub/css-base@hackclub/components@hackclub/meta GitHub
<hc-polaroid src="https://hackclub.com/assets/hero_photo1.webp" alt="Teenagers at a hackathon" rotate="-6"></hc-polaroid>
<hc-polaroid src="https://hackclub.com/assets/hero_photo2.webp" alt="A club meeting" rotate="4" caption="Club night"></hc-polaroid>
<hc-sticker src="https://hackclub.com/assets/hero_sticker1.webp" alt="Hack Club sticker" rotate="-8" movable></hc-sticker>
<hc-sticker src="https://hackclub.com/assets/hero_sticker3.webp" alt="Orpheus sticker" rotate="10" movable></hc-sticker>

API

Attributes

NameTypeDefaultDescription
src, altstringImage
rotatenumberpolaroid -4, sticker 6Tilt in degrees
hc-polaroid captionstringCaption under the photo
hc-sticker movablebooleanAllow dragging

Slots

NameDescription
captionRich caption for <hc-polaroid>

Events

NameDescription
hc-move<hc-sticker> was dropped. detail: { x, y }

CSS custom properties

NameDescription
--hc-polaroid-width / --hc-sticker-widthWidth (240px / 120px)
Next: Wave & grid paper

The design system behind hackclub.com.
Made with <3 by Lamparter.

Get startedTokensComponents@hackclub/theme@hackclub/tokens@hackclub/css-base@hackclub/components@hackclub/metaWebsiteBrand guideIconshackclub/site