An electronic device comprising: a display; a housing coupled with the display and defining an input surface of the electronic device, the input surface defining a keyboard; and a haptic structure positioned beneath a portion of the input surface and comprising: a deflection mechanism (210, 310) having a pair of elongated holes (410, 420) and a beam structure defined between the pair of elongated holes (410, 420), the beam structure having a beam length that extends from a first fixed end to a second fixed end; an actuation element positioned along a second side of the deflection mechanism (210, 310) and having a piezoelectric element positioned on the beam structure; characterized in that a spacer positioned along a first side of the deflection mechanism (210, 310) between the pair of elongated holes (410, 420) and such that the actuation element and the deflection mechanism (210, 310) are on one side of the spacer and the portion of the input surface is on the opposite side of the spacer, the spacer coupling the beam structure to the input surface; wherein: the actuation element is configured to deflect the deflection mechanism (210, 310) and locally deform the input surface to provide haptic output along the input surface in response to an input received along the portion of the input surface. a display; a housing coupled with the display and defining an input surface of the electronic device, the input surface defining a keyboard; and a haptic structure positioned beneath a portion of the input surface and comprising: a deflection mechanism (210, 310) having a pair of elongated holes (410, 420) and a beam structure defined between the pair of elongated holes (410, 420), the beam structure having a beam length that extends from a first fixed end to a second fixed end; an actuation element positioned along a second side of the deflection mechanism (210, 310) and having a piezoelectric element positioned on the beam structure; characterized in that a spacer positioned along a first side of the deflection mechanism (210, 310) between the pair of elongated holes (410, 420) and such that the actuation element and the deflection mechanism (210, 310) are on one side of the spacer and the portion of the input surface is on the opposite side of the spacer, the spacer coupling the beam structure to the input surface; wherein: the actuation element is configured to deflect the deflection mechanism (210, 310) and locally deform the input surface to provide haptic output along the input surface in response to an input received along the portion of the input surface. a deflection mechanism (210, 310) having a pair of elongated holes (410, 420) and a beam structure defined between the pair of elongated holes (410, 420), the beam structure having a beam length that extends from a first fixed end to a second fixed end; an actuation element positioned along a second side of the deflection mechanism (210, 310) and having a piezoelectric element positioned on the beam structure; characterized in that a spacer positioned along a first side of the deflection mechanism (210, 310) between the pair of elongated holes (410, 420) and such that the actuation element and the deflection mechanism (210, 310) are on one side of the spacer and the portion of the input surface is on the opposite side of the spacer, the spacer coupling the beam structure to the input surface; wherein: the actuation element is configured to deflect the deflection mechanism (210, 310) and locally deform the input surface to provide haptic output along the input surface in response to an input received along the portion of the input surface.