# Ionic 4 buttons not rendering in browser or Ionic DevApp

**URL:** <https://forum.ionicframework.com/t/ionic-4-buttons-not-rendering-in-browser-or-ionic-devapp/146235>\
**Category:** Ionic Framework\
**Created:** [October 31, 2018, 1:12am UTC](https://forum.ionicframework.com/t/ionic-4-buttons-not-rendering-in-browser-or-ionic-devapp/146235 "2018-10-31T01:12:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperRoo](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/superroo/32/104014_2.png) [@SuperRoo](https://forum.ionicframework.com/u/SuperRoo)\
**Post date:** [October 31, 2018, 1:12am UTC](https://forum.ionicframework.com/t/ionic-4-buttons-not-rendering-in-browser-or-ionic-devapp/146235/1 "2018-10-31T01:12:08Z")

</div>

Hi  
am creating an Ionic 4 app but the buttons are not rendering. The app is a sidemenu and the button markup I use is:

```auto
 <button ion-button >Login</button>

```

I have cut the code down to keep it simple but all I get is the text within a light grey background.  
Have created a blank test project

```auto
ionic start Test4 blank ---type=angular

```

with the above button and get the same result  
Ran ionic info:

Ionic:

ionic (Ionic CLI) : 4.2.1  
Ionic Framework : @ionic/angular 4.0.0-beta.13  
@angular-devkit/build-angular : 0.8.6  
@angular-devkit/schematics : 0.8.6  
@angular/cli : 6.2.6  
@ionic/angular-toolkit : 1.0.0

System:

NodeJS : v8.12.0  
npm : 6.3.0  
OS : Windows 10

package versions in Package.json of the test app"  
“dependencies”: {  
“@angular/common”: “~6.1.1”,  
“@angular/core”: “~6.1.1”,  
“@angular/forms”: “~6.1.1”,  
“@angular/http”: “~6.1.1”,  
“@angular/platform-browser”: “~6.1.1”,  
“@angular/platform-browser-dynamic”: “~6.1.1”,  
“@angular/router”: “~6.1.1”,  
“@ionic-native/core”: “5.0.0-beta.21”,  
“@ionic-native/splash-screen”: “5.0.0-beta.21”,  
“@ionic-native/status-bar”: “5.0.0-beta.21”,  
“@ionic/angular”: “4.0.0-beta.13”,  
“core-js”: “^2.5.3”,  
“rxjs”: “6.2.2”,  
“zone.js”: “^0.8.26”  
},  
“devDependencies”: {  
“@angular-devkit/architect”: “~0.8.5”,  
“@angular-devkit/build-angular”: “~0.8.5”,  
“@angular-devkit/core”: “~0.8.5”,  
“@angular-devkit/schematics”: “~0.8.5”,  
“@angular/cli”: “~6.2.5”,  
“@angular/compiler”: “~6.1.1”,  
“@angular/compiler-cli”: “~6.1.1”,  
“@angular/language-service”: “~6.1.1”,  
“@ionic/angular-toolkit”: “^1.0.0”,  
“@types/jasmine”: “~2.8.6”,  
“@types/jasminewd2”: “~2.0.3”,  
“@types/node”: “~10.12.0”,  
“codelyzer”: “~4.5.0”,  
“jasmine-core”: “~2.99.1”,  
“jasmine-spec-reporter”: “~4.2.1”,  
“karma”: “~3.0.0”,  
“karma-chrome-launcher”: “~2.2.0”,  
“karma-coverage-istanbul-reporter”: “~2.0.0”,  
“karma-jasmine”: “~1.1.1”,  
“karma-jasmine-html-reporter”: “^0.2.2”,  
“protractor”: “~5.4.0”,  
“ts-node”: “~7.0.0”,  
“tslint”: “~5.11.0”,  
“typescript”: “~2.9.2”  
},

any help greatly appreciated…these are stock standard buttons. Have run them in Chrome browser and DevApp with same result…no rendering ??

---

<div class="post-metadata">

**Author:** ![joshmorony](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/joshmorony/32/117695_2.png) [@joshmorony](https://forum.ionicframework.com/u/joshmorony)\
**Post date:** [October 31, 2018, 1:15am UTC](https://forum.ionicframework.com/t/ionic-4-buttons-not-rendering-in-browser-or-ionic-devapp/146235/2 "2018-10-31T01:15:20Z")

</div>

The button syntax in Ionic 4 is:

```auto
<ion-button>My Button</ion-button>

```

Check out this document: [https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md](https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md)

---

<div class="post-metadata">

**Author:** ![SuperRoo](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/superroo/32/104014_2.png) [@SuperRoo](https://forum.ionicframework.com/u/SuperRoo)\
**Post date:** [October 31, 2018, 5:45am UTC](https://forum.ionicframework.com/t/ionic-4-buttons-not-rendering-in-browser-or-ionic-devapp/146235/3 "2018-10-31T05:45:54Z")

</div>

Yep, that worked…I’ll have to be careful of the changes…the floating label got me initially until I realised I had to set the property

```auto
position="floating"

```

otherwise the label don’t float !!!  
Thanks for the advice & link

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:11pm UTC](https://forum.ionicframework.com/t/ionic-4-buttons-not-rendering-in-browser-or-ionic-devapp/146235/4 "2021-07-19T21:11:54Z")

</div>

Closed on July 19, 2021, 9:11pm UTC


