Use a spotlight and then adjust the Length value–spot lights and point lights have a radius and a length setting which can make them into area lights.
Also, if necessary, you can use a mesh with an emissive material as a light–make sure to check the box on the object using that material to cast light with emissive, though it’s slow to render and only affects static objects and you might need to experiment with the intensity in your material.