You can apply and pay for most UK visas online. The specific documents you need to provide will depends on the type of visa you are applying for. Still, in general, you will need a valid passport, bank statement and evidence of your accommodation.
If you have dependents with you, they will need to apply and pay for their own individual visa applications.