import { DaffStrokedButtonComponent } from '@daffodil/design/button'
DaffStrokedButtonComponent is a rectangular outlined button with no background color.
@Component()
class DaffStrokedButtonComponent {
@Input() status: DaffStatus
@Input() color: DaffPalette
@Input() elevated: boolean = false
@Input() tabindex: number = 0
@Input() disabled: any
}
DaffStatus
Default | – |
---|---|
Description | Sets the status on a component. Options are: |
DaffPalette
Default | – |
---|---|
Description | Sets the color on a component. Default options are: |
boolean
Default | false |
---|---|
Description | Whether or not the button displays a shadow. |
number
Default | 0 |
---|---|
Description | Sets the tabindex. |
any
Default | – |
---|---|
Description | The disabled state of the button. |
<button daff-stroked-button>
<div daffPrefix></div>
Stroked Button
<div daffSuffix></div>
</button>
<a href="/" daff-stroked-button>
<div daffPrefix></div>
Linked stroked button
<div daffSuffix></div>
</a>
<button daff-stroked-button>
<div daffPrefix></div>
Stroked Button
<div daffSuffix></div>
</button>
<a href="/" daff-stroked-button>
<div daffPrefix></div>
Linked stroked button
<div daffSuffix></div>
</a>