Styling missing for amplify-authenticator (Angular 6)
See original GitHub issueDescribe the bug When using the <amplify-authenticator> component in an Angular app the view appears, but has no styling at all.
To Reproduce
Steps to reproduce the behavior:
$ amplify init
$ amplify add auth
Add following to main.ts
import Amplify from 'aws-amplify';
import amplify from './aws-exports';
Amplify.configure(amplify);
and import the AmplifyAngularModule/AmplifyService into the module. Then try to use the <amplify-authenticator> component in the app.
Expected behavior The login etc. views should display with styling.
Screenshots https://gyazo.com/94915aa87612a6acd60391cebe36c7be
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome/Firefox
- Version: Latest
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Customization | Amplify UI for Angular
Headers & Footers. The Authenticator has several "slots" that you can customize to add messaging & functionality to meet your app's needs.
Read more >AuthError - Error: Amplify has not been configured correctly ...
I tried to add Amplify Authenticator component to an Angular app ... style="margin-top: 30px"> <amplify-authenticator *ngIf="authState !==
Read more >Amplify UI's new Authenticator component makes it easy to ...
Amplify UI's new Authenticator component makes it easy to add customizable login pages to your React, Angular, or Vue app.
Read more >Ionic 4 + AppSync: Set up Authentication with Amazon Cognito
Change styling. The default styles for the <amplify-authenticator> component are located in this file: node_modules/aws-amplify-angular/theme ...
Read more >Customizing the Semantic UI React library with Styled ...
Rather than change Semantic's style rules and risk weird and ... do with Styled Components, but if I missed anything important, let me...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Figured out I need to install
@aws-amplify/ui
separately. However, country flags seem to be missing and the forms don’t fit in their container… any suggestions?Hey @mattgogerly,
The documentation for adding styling to the angular UI components needs to be updated. We will get this documentation added asap.
You should be able to simply add: @import ‘~aws-amplify-angular/theme.css’;
As for the country flags missing, we will investigate why this is happening.