In the above examples, Bootstrap, Materialize, and Foundation are used to create menus. These packages are libraries that provide pre-built CSS and JavaScript components for creating responsive and mobile-friendly websites. They are widely used in frontend development to create modern and engaging user interfaces.