A keyboard for performing a user input to an electronic device and a top case accommodating the keyboard, the top case being formed from a single metal substrate and comprising: a top portion; a rear portion; at least one row of indentions receiving in each indention a key among a plurality of keys of the keyboard, wherein said each indention extends from the top portion to the rear portion and is free of apertures at the rear portion, wherein each row of indentions comprises: a first indention among the plurality of indentions configured to receive a first key among the plurality of keys; a second indention among the plurality of indentions configured to receive a second key among the plurality of keys, the second indention being adjacent to the first indention; and a third indention among the plurality of indentions configured to receive a third key among the plurality of keys, the third indention being adjacent to the second indention; the top case further comprising: a first rib positioned between the first indention and the second indention, the first rib comprising a first conduit in a lower portion of the first rib, said first conduit being configured to open into the adjacent first and second indentions; a second rib positioned between the second indention and the third indention, the second rib comprising a second conduit in a lower portion of the second rib, said second conduit being configured to open into the adjacent second and third indentions; the keyboard further comprising: an electrically conductive layer positioned on the rear portion, the electrically conductive layer passing through the first indention, the second indention, the third indention, the first conduit, and the second conduit; the top case further comprising an opening between the top portion and the rear portion of the third indention, wherein the opening is located at a lateral portion of the top case, said opening being the single opening configured to receive the electrically conductive layer for electrically connecting the first key, the second key and the third key with an internal component of the electronic device. a top portion; a rear portion; at least one row of indentions receiving in each indention a key among a plurality of keys of the keyboard, wherein said each indention extends from the top portion to the rear portion and is free of apertures at the rear portion, wherein each row of indentions comprises: a first indention among the plurality of indentions configured to receive a first key among the plurality of keys; a second indention among the plurality of indentions configured to receive a second key among the plurality of keys, the second indention being adjacent to the first indention; and a third indention among the plurality of indentions configured to receive a third key among the plurality of keys, the third indention being adjacent to the second indention; the top case further comprising: a first rib positioned between the first indention and the second indention, the first rib comprising a first conduit in a lower portion of the first rib, said first conduit being configured to open into the adjacent first and second indentions; a second rib positioned between the second indention and the third indention, the second rib comprising a second conduit in a lower portion of the second rib, said second conduit being configured to open into the adjacent second and third indentions; the keyboard further comprising: an electrically conductive layer positioned on the rear portion, the electrically conductive layer passing through the first indention, the second indention, the third indention, the first conduit, and the second conduit; the top case further comprising an opening between the top portion and the rear portion of the third indention, wherein the opening is located at a lateral portion of the top case, said opening being the single opening configured to receive the electrically conductive layer for electrically connecting the first key, the second key and the third key with an internal component of the electronic device. a first indention among the plurality of indentions configured to receive a first key among the plurality of keys; a second indention among the plurality of indentions configured to receive a second key among the plurality of keys, the second indention being adjacent to the first indention; and a third indention among the plurality of indentions configured to receive a third key among the plurality of keys, the third indention being adjacent to the second indention; a first rib positioned between the first indention and the second indention, the first rib comprising a first conduit in a lower portion of the first rib, said first conduit being configured to open into the adjacent first and second indentions; a second rib positioned between the second indention and the third indention, the second rib comprising a second conduit in a lower portion of the second rib, said second conduit being configured to open into the adjacent second and third indentions; an electrically conductive layer positioned on the rear portion, the electrically conductive layer passing through the first indention, the second indention, the third indention, the first conduit, and the second conduit; the top case further comprising an opening between the top portion and the rear portion of the third indention, wherein the opening is located at a lateral portion of the top case, said opening being the single opening configured to receive the electrically conductive layer for electrically connecting the first key, the second key and the third key with an internal component of the electronic device.