API reference: @salmonui/layout/avatar
initialsOffunction
import { initialsOf } from '@salmonui/layout/avatar';function initialsOf(name: string, locale?: string | readonly string[]): string;
Initials of a name: the first letter of the first and of the last word
(one letter for a single word), upper-cased for locale.