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 having a pair of elongated holes and a beam structure defined between the pair of elongated holes , 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 and having a piezoelectric element positioned on the beam structure ; characterized in that a spacer positioned along a first side of the deflection mechanism between the pair of elongated holes and such that the actuation element and the deflection mechanism 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 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 having a pair of elongated holes and a beam structure defined between the pair of elongated holes , 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 and having a piezoelectric element positioned on the beam structure ; characterized in that a spacer positioned along a first side of the deflection mechanism between the pair of elongated holes and such that the actuation element and the deflection mechanism 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 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 having a pair of elongated holes and a beam structure defined between the pair of elongated holes , 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 and having a piezoelectric element positioned on the beam structure ; characterized in that a spacer positioned along a first side of the deflection mechanism between the pair of elongated holes and such that the actuation element and the deflection mechanism 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 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. <EOS>