An assembly for a vehicle includes a vehicle roof and a panel rotatably connected to the vehicle roof. The panel is rotatable away from the vehicle roof from a stowed position to a deployed position. The assembly includes an airbag supported on the panel. The airbag is inflatable from the panel in a vehicle-forward direction when the panel is in the deployed position.