Hooks & Utilities
v1.0.0Added in 1.0.0
What a file is from its name or mime type: kind, icon, tile colors, a short type label and a localized size.
Type any file name (or pick a sample) and see the kind, icon tile, type label and size the helpers produce. Switch the locale to compare "2.4 MB" with "2,4 MB".
npx wingo-ui@latest add file-typesPro item: the CLI needs a Pro account. See plans