BfmSingInFormComponent
The building block component that renders the user sign-in form.
Composition
Is composed by the following fields:
- Company logo
- Sign-in button that will trigger the oauth flow.
Usage
You need to import the selected building block in your component:
- Angular
- Web Component
auth.component.ts
import { BfmSingInFormComponent } from "@celerofinancas/ui-auth";
@Component({
standalone: true,
selector: "auth-signin",
imports: [BfmSingInFormComponent],
templateUrl: "./auth.component.html",
})
export class SignInComponent {}
Then, you can use the bfm-signin-form component in your template:
<bfm-signin-form></bfm-signin-form>
refer to Web Components note
If you want to use the BfmSingInFormComponent as a web component, you can import in your HTML file as follows:
your-html-file.html
<bfm-signin-form></bfm-signin-form>