CornerOverlay
Position a small overlay badge on one corner of inline content.
CornerOverlay
Position a small overlay badge on one corner of inline content, such as status dots, verification icons, or action affordances.
Basic Usage
Basic
Demo will load when visible.
API
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| placement | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | bottom-right | Corner used to anchor the overlay layer. |
| offsetX | string | number | 0 | Horizontal offset from the selected corner; numeric values are normalized to pixels. |
| offsetY | string | number | 0 | Vertical offset from the selected corner; numeric values are normalized to pixels. |
| overlayPointerEvents | 'none' | 'auto' | none | Pointer-events mode for the overlay layer. |