GitHub

DaffStrokedButtonComponent

DaffStrokedButtonComponent is a rectangular outlined button with no background color.

import { DaffStrokedButtonComponent } from '@daffodil/design/button';
import { DaffStrokedButtonComponent } from '@daffodil/design/button'
@Component()
class DaffStrokedButtonComponent extends DaffButtonBaseDirective {}
Selector: 'button[daff-stroked-button]' + ',' + 'a[daff-stroked-button]'

Examples

Stroked 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>