You can use iCloud from anywhere by signing in to iCloud.com from a web browser recommended in the Apple Support article System requirements for iCloud.
Note: Not all iCloud features are available when you sign in to iCloud.com from a web browser on iPhone. To access more features, sign in to iCloud.com using a web browser on a Mac or Windows computer or iPad. See the Apple Support article Which iCloud.com features are available in the browser on your device.
Sign in to iCloud.com
Sign in to iCloud.com using two-factor authentication or two-step verification
Go to iCloud.com, then sign in with your Apple ID (the one you use with iCloud).
Follow the onscreen instructions to verify your identity by entering a code sent to a trusted device.
You must verify your identity this way to use any web app except Find My iPhone. You can use Find My iPhone by tapping the Find iPhone button after you enter your Apple ID. See How to sign in to Find My iPhone on iCloud.com.
Note: During two-factor authentication or two-step verification on iCloud.com, you can choose to trust the browser so that you will not be asked to verify your identity the next time you sign in.
Switch to a different iCloud.com feature
At the top of the iCloud.com window, tap the name of the feature you are currently using, then tap another feature.
iCloud.com is not supported for web-only users on iPhone. To see and use iCloud features, go to iCloud.com from a web browser on a tablet or on a Mac or Windows computer, or set up iCloud on your iOS device, iPadOS device or Mac.
Sign out of iCloud.com
Tap your name at the top of the iCloud.com window, then choose Sign Out.