GitHub

DaffUnderlineButtonComponent

DaffUnderlineButtonComponent is a borderless button with a custom underline style.

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

Examples

Underline button

<button daff-underline-button>
 <div daffPrefix></div>
 Underline Button
 <div daffSuffix></div>
</button>

<a href="/" daff-underline-button>
 <div daffPrefix></div>
 Linked underline button
 <div daffSuffix></div>
</a>