# Overflow Set `max` prop to handle overflow situation. ```html
``` ```js import mdAdd from 'naive-ui/lib/icons/md-add' import mdRemove from 'naive-ui/lib/icons/md-remove' export default { components: { mdAdd, mdRemove }, data() { return { value: 101 }; } }; ``` ```css .n-badge { margin: 0 32px 8px 0; } .block { width: 32px; height: 32px; background-color: #dddddd; border-radius: 4px; transition: background-color .3s cubic-bezier(.4, 0, .2, 1); } .n-dark-theme .block { background-color: rgba(255, 255, 255, .15); } ```