# Icon
# Basic
```html
Hourglass Icon
```
```js
import mdHourglass from 'naive-ui/lib/icons/md-hourglass'
export default {
data() {
return {}
},
methods: {
emitMessage() {
this.$NMessage.warning("I never needed anybody's help in any way", {
icon: mdHourglass
})
}
}
}
```
```css
.n-button {
margin: 0 12px 8px 0
}
```