material-components-vue
Version:
Material Design components for Vue.js
45 lines (34 loc) • 872 B
Markdown
class="my-shape-container"
topLeft
bottomRight>
<m-button
interactive
unelevated>
Button
</m-button>
</m-shape>
```
```scss
@import "@material/shape/mixins";
.my-shape-container {
@include mdc-shape-angled-corner(
}
```
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| topLeft | Boolean | false | top left corner will be angled |
| topRight | Boolean | false | top right corner will be angled |
| bottomLeft | Boolean | false | bottom left corner will be angled |
| bottomRight | Boolean | false | bottom right corner will be angled |
| Slot | Description |
|------|-------------|
| default | unelevated component |
- https://github.com/material-components/material-components-web/tree/master/packages/mdc-shape
```html
<m-shape