fzf is a simple command-line fuzzy finder. It is also very customizable with the way it behaves and looks and also easily installable through Homebrew. The following function is the one I have added to my .zshrc file on my macbook.

f() {
  FZF_DEFAULT_COMMAND='/opt/homebrew/bin/fd --type f --hidden --exclude .DS_Store' \
  fzf --style full \
    --padding 1,2 \
    --preview 'fzf-preview.sh {}' \
    --bind 'result:transform-list-label:
      if [[ -z $FZF_QUERY ]]; then
        echo " $FZF_MATCH_COUNT items "
      else
        echo " $FZF_MATCH_COUNT matches for [$FZF_QUERY] "
      fi
      ' \
    --bind 'focus:transform-preview-label:[[ -n {} ]] && printf " Previewing [%s] " {}' \
    --bind 'focus:+transform-header:file --brief {} || echo "No file selected"' \
    --bind 'ctrl-r:change-list-label( Reloading the list )+reload(sleep 2; git ls-files)' \
    --color 'border:#aaaaaa,label:#cccccc' \
    --color 'preview-border:#9999cc,preview-label:#ccccff' \
    --color 'list-border:#669966,list-label:#99cc99' \
    --color 'input-border:#996666,input-label:#ffcccc' \
    --color 'header-border:#6699cc,header-label:#99ccff'
}