Patent attributes
Examples disclosed herein provide a digital pen for a computing device. As an example, the digital pen includes a barrel and a clip coupled to the barrel via a spring, wherein the clip is movable within the barrel in a direction opposite a force provided by the spring. The digital pen includes a first set of magnetic members to magnetically couple with a second set of magnetic members of the computing device, when the first and second sets of magnetic members are brought within proximity of each other. The digital pen includes a lever arm disposed within the barrel and comprising a wedge along an end of the lever arm. As an example, the wedge is to frictionally engage a retractable part of the computing device and an interior panel of the barrel, when the first and second sets of magnetic members are to magnetically couple with each other.