FullScreenCover
A presentation that covers the whole screen.
tsx
import { Button, LabeledContent, FullScreenCover } from '@satinhq/kit'Example
Bind presentation state
Keep isPresented in React state and pass its setter to onPresentedChange. The presentation updates the binding when it closes.
Finish the task
Use a Done button inside a cover. For an alert or dialog, supply actions with labels and optional roles. Presentation state starts closed after an app relaunch.
API
Scroll horizontally to read every column.
| Prop | Type | Description |
|---|---|---|
isPresented | boolean | Whether it is open. |
onPresentedChange | (presented: boolean) => void | Receives dismissal changes. |
title | string | The accessible title. |
children | ReactNode | The cover content. |
Related: Quick start, List, Screen.
:::