An electronic device comprising: a top panel having a manipulation surface; a position detector configured to detect a position of a manipulation input performed on the manipulation surface; a vibrating element attached to the top panel and configured to generate a vibration at the manipulation surface; and a drive controlling part configured to drive the vibrating element by using a driving signal for generating a natural vibration in an ultrasound frequency band at the manipulation surface, the drive controlling part being configured to drive the vibrating element such that an intensity of the natural vibration is changed in accordance with the position of the manipulation input performed on the manipulation surface and a time change degree of the position, the electronic device is characterized in that a width of the vibrating element in a direction in which an amplitude of the natural vibration changes is based on a ratio of a flexural rigidity (Mp) of the top panel to a flexural rigidity (Mc) of the top panel and the vibrating element at a portion where the vibrating element is attached to the top panel, wherein: in the direction in which the amplitude of the natural vibration changes, the vibrating element is attached, inward with respect to an end part of the top panel, to a position corresponding to an antinode of the natural vibration, and the width of the vibrating element satisfies 0.5 λc ≤ W ≤ (0.85 - 0.35α) λc, where the ratio is α and λc is a wavelength of the natural vibration at a section where the top panel and the vibrating element are overlapped. a top panel having a manipulation surface; a position detector configured to detect a position of a manipulation input performed on the manipulation surface; a vibrating element attached to the top panel and configured to generate a vibration at the manipulation surface; and a drive controlling part configured to drive the vibrating element by using a driving signal for generating a natural vibration in an ultrasound frequency band at the manipulation surface, the drive controlling part being configured to drive the vibrating element such that an intensity of the natural vibration is changed in accordance with the position of the manipulation input performed on the manipulation surface and a time change degree of the position, the electronic device is characterized in that a width of the vibrating element in a direction in which an amplitude of the natural vibration changes is based on a ratio of a flexural rigidity (Mp) of the top panel to a flexural rigidity (Mc) of the top panel and the vibrating element at a portion where the vibrating element is attached to the top panel, wherein: in the direction in which the amplitude of the natural vibration changes, the vibrating element is attached, inward with respect to an end part of the top panel, to a position corresponding to an antinode of the natural vibration, and the width of the vibrating element satisfies 0.5 λc ≤ W ≤ (0.85 - 0.35α) λc, where the ratio is α and λc is a wavelength of the natural vibration at a section where the top panel and the vibrating element are overlapped. in the direction in which the amplitude of the natural vibration changes, the vibrating element is attached, inward with respect to an end part of the top panel, to a position corresponding to an antinode of the natural vibration, and the width of the vibrating element satisfies 0.5 λc ≤ W ≤ (0.85 - 0.35α) λc, where the ratio is α and λc is a wavelength of the natural vibration at a section where the top panel and the vibrating element are overlapped.