\documentclass[a5paper]{article}
\usepackage[margin=5mm]{geometry}
\usepackage{lucide-icons}
\setlength\parindent{0pt}
\begin{document}
%normal version: inline with automatic height/depth (from qX characters)
q\lucideicon[height=dauto]{anchor}X
%normal version: inline with automatic height/depth (from specified characters)
(q\lucideicon[height=dauto,dstrut=(qB)]{anchor}B)
%normal version: inline with automatic height (from X character) default version
X\lucideicon[height=auto]{anchor}X
%normal version: inline with manual height/depth
q\lucideicon[height={0.8em/-0.4em}]{anchor}X
%fixed height
\lucideicon[height=2in]{anchor}
\end{document}