Can @grafana/ui be used without Grafana?

that’s not recommended. See this post for a more detailed answer: