# Line In fact, progress of line type don't need four different styles. However, since UI has designed it, I finally implemented them all. It also support `default`, `info`, `success`, `warning` or `error` status. ```html Minus 10% Add 10% ``` ```js export default { data () { return { percentage: 0 } }, methods: { add () { this.percentage += 10 if (this.percentage > 100) this.percentage = 0 }, minus () { this.percentage -= 10 if (this.percentage < 0) this.percentage = 100 } } } ``` ```css .n-progress { margin-bottom: 8px; } .n-button { margin: 0 8px 12px 0; } ```