In the first aspect, the invention provides a fastener which includes a fastening element and an actuating means attached to the fastening element. The fastening element has a flexible beam and an engagement means. The actuating means includes a material, such as shape memory alloy, which contracts when activated. When the material is contracted, the beam moves between an engagement position and a disengagement position.