View as Markdown

API reference: @salmonui/buttons/button

ButtonFloatingPositiontype

import type { ButtonFloatingPosition } from '@salmonui/buttons/button';
type ButtonFloatingPosition = 'topStart' | 'topCenter' | 'topEnd' | 'middleStart' | 'middleCenter' | 'middleEnd' | 'bottomStart' | 'bottomCenter' | 'bottomEnd';

Where a floating button sits; logical, mirrored in RTL. true means 'bottomEnd'.