Rename component directory to patterns.