I have implemented a vertical menu using Semantic UI React. Here is the structure of my menu:
<Grid>
<Grid.Column mobile={16} tablet={5} computer={5}>
<div className='ui secondary pointing menu vertical compact inherit'>
<a className='item'>
Element
</a>
</div>
</Grid.Column>
</Grid>
However, I want to make this menu responsive so that it transforms into a horizontal icon menu on mobile devices. Is there a way to achieve this responsiveness? Essentially, I would like the menu to be displayed vertically with text items on computers and horizontally with icons on mobile devices...