Currently, it's recommended to use Ref component to get refs to HTML elements from Semantic UI React components as not all components support native ref forwarding via React.forwardRef().
As it uses deprecated ReactDOM.findDOMNode() you may receive warnings in React's StrictMode. We are working on it in Semantic-Org/Semantic-UI-React#3819.
A component exposes the innerRef prop that always returns the DOM node of both functional and class component children.
React.forwardRef() API is also handled by this component.