---
title: "Discussion on \"Consistent buttons using directives in Angular\" | Hashnode"
description: "Discussion on \"Consistent buttons using directives in Angular\". Every application would consist of buttons and it is one of the most common ways to enable interactivity to application. HTML has provided us with the button tag which can render an element which is clickable. By default, all the browsers have their ..."
url: "https://hashnode.com/posts/consistent-buttons-using-directives-in-angular/5fff2558c162d710c9b143a3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Consistent buttons using directives in Angular](https://sreyaj.dev/consistent-buttons-using-directives-in-angular?utm_source=hashnode&utm_medium=feed)

Every application would consist of buttons and it is one of the most common ways to enable interactivity to application. HTML has provided us with the button tag which can render an element which is clickable. By default, all the browsers have their ...

Jan 13, 2021 · 9 min read · sreyaj.dev  
Read the article

-   [#angular-2](https://hashnode.com/tag/angular-2)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#web-design](https://hashnode.com/tag/web-design)

## Written by

[Adithya Sreyaj](https://hashnode.com/@adisreyaj)

@adisreyaj · Kerala, IN

  
[View profile](https://hashnode.com/@adisreyaj)

Full stack dev ✨

Full stack web developer with main focus in Angular and NodeJs. Loves creating blogs, a side projects when I can find time.

## Responses 1

Markdown supported · ⌘↵ to post

[Rupesh Kadam](https://hashnode.com/@rupesh45)

[Aug 25, 2022](https://hashnode.com/posts/consistent-buttons-using-directives-in-angular/5fff2558c162d710c9b143a3/comment/6307662f79f56556d0cba40d)

How do you add size='large'?

[Adithya Sreyaj](https://hashnode.com/@adisreyaj)

[Aug 25, 2022](https://hashnode.com/posts/consistent-buttons-using-directives-in-angular/5fff2558c162d710c9b143a3/comment/6307662f79f56556d0cba40d#reply-630780e779f56556d0cba9e3)

Just add a @Input in the directive and use that to style the button accordingly.
