An electronic device comprising: a housing; and an operation member, wherein the housing includes: a wall erected on a main surface of the housing and having a light guide hole through which light passes, the operation member including a transmission part engaged with peripheral edges of the light guide hole while being fitted into the light guide hole and configured to transmit the light; where the housing further includes a projection inwardly projected from the main surface of the housing; and where the operation member is mounted on an inner surface of the housing wherein the operation member includes: a holding part extending along the main surface from the projection to the wall; an erecting part erected from the holding part along the wall; and a receiving part configured to receive an operation by a user from an outside of the housing, and wherein at least one of the projection and an end of the holding part that comes into contact with the projection includes a regulation part configured to restrict relative movement of the projection and the holding part in a direction intersecting the contact direction on a plane along the main surface. a housing; and an operation member, wherein the housing includes: a wall erected on a main surface of the housing and having a light guide hole through which light passes, the operation member including a transmission part engaged with peripheral edges of the light guide hole while being fitted into the light guide hole and configured to transmit the light; where the housing further includes a projection inwardly projected from the main surface of the housing; and where the operation member is mounted on an inner surface of the housing wherein the operation member includes: a holding part extending along the main surface from the projection to the wall; an erecting part erected from the holding part along the wall; and a receiving part configured to receive an operation by a user from an outside of the housing, and wherein at least one of the projection and an end of the holding part that comes into contact with the projection includes a regulation part configured to restrict relative movement of the projection and the holding part in a direction intersecting the contact direction on a plane along the main surface. a wall erected on a main surface of the housing and having a light guide hole through which light passes, the operation member including a transmission part engaged with peripheral edges of the light guide hole while being fitted into the light guide hole and configured to transmit the light; where the housing further includes a projection inwardly projected from the main surface of the housing; and where the operation member is mounted on an inner surface of the housing wherein the operation member includes: a holding part extending along the main surface from the projection to the wall; an erecting part erected from the holding part along the wall; and a receiving part configured to receive an operation by a user from an outside of the housing, and wherein at least one of the projection and an end of the holding part that comes into contact with the projection includes a regulation part configured to restrict relative movement of the projection and the holding part in a direction intersecting the contact direction on a plane along the main surface. a holding part extending along the main surface from the projection to the wall; an erecting part erected from the holding part along the wall; and a receiving part configured to receive an operation by a user from an outside of the housing, and wherein at least one of the projection and an end of the holding part that comes into contact with the projection includes a regulation part configured to restrict relative movement of the projection and the holding part in a direction intersecting the contact direction on a plane along the main surface.