An article of footwear includes an upper and a sole coupled to the upper. The sole includes one or more elongate shape memory components that define a cavity and form a midsole.