Cover
A page cover image with an image picker.
Cover Default
Installation
pnpm add @notion-kit/uiExamples
Notion Cover
Cover Default
<Cover
url={cover}
unsplashAPIKey={UNSPLASH_ACCESS_KEY}
onSelect={...}
onUpload={...}
onRemove={...}
/>Cover Picker
Cover Picker
<CoverPicker unsplashAPIKey={UNSPLASH_ACCESS_KEY}>
<Button size="sm">
<ImageIcon className="mr-2 size-4" />
Change cover
</Button>
</CoverPicker>API Reference
Cover
Prop
Type
CoverPicker
Prop
Type