View as Markdown

API reference: @salmonui/notifications/badge

BadgePlacementtype

import type { BadgePlacement } from '@salmonui/notifications/badge';
type BadgePlacement = 'topEnd' | 'topStart' | 'bottomEnd' | 'bottomStart';

Corner of the host an overlay badge sits on; logical, mirrored under dir="rtl".