Angular ngx Bootstrap Tooltip Component Last Updated : 06 Jan, 2023 Comments Improve Suggest changes Like Article Like Report Angular ngx bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will see how to use Tooltip in angular ngx bootstrap. Installation syntax: npm install ngx-bootstrap --save Approach: First, install the angular ngx bootstrap using the above-mentioned command.Add the following script in index.html <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"> Import tooltip component in module.tsIn app.component.html make a tooltip component.Serve the app using ng serve. Example: index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Demo</title> <base href="/" /> <meta name="viewport" content= "width=device-width, initial-scale=1" /> <link href= "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" /> <link rel="icon" type="image/x-icon" href="favicon.ico" /> <link rel="preconnect" href="https://fonts.gstatic.com" /> <link href= "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet" /> <link href= "https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> </head> <body class="mat-typography"> <app-root></app-root> </body> </html> app.component.html <button id='gfg' type="button" class="btn btn-success" tooltip="Tooltip component in Angular ngx bootstrap."> GeeksforGeeks </button> app.module.ts import { NgModule } from '@angular/core'; // Importing forms module import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { TooltipModule} from 'ngx-bootstrap/tooltip'; import { AppComponent } from './app.component'; @NgModule({ bootstrap: [ AppComponent ], declarations: [ AppComponent ], imports: [ FormsModule, BrowserModule, BrowserAnimationsModule, ReactiveFormsModule, TooltipModule.forRoot() ] }) export class AppModule { } app.component.css #gfg { margin: 10px; } app.component.ts import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { } Output: Comment More infoAdvertise with us Next Article Angular ngx Bootstrap Tooltip Component taran910 Follow Improve Article Tags : Web Technologies AngularJS Angular-ngx-bootstrap Similar Reads Angular ng bootstrap Tooltip Component Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will know how to use Tooltip in angular ng bootstrap. Tooltip is used to display informative tex 2 min read Angular ng Bootstrap Toast Component Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will see how to use Toast in angular ng bootstrap. The Toast component is used to make a compone 2 min read Angular ngx Bootstrap Rating Component Angular ngx bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will know how to use Rating in angular ngx bootstrap. Rating is used to make a component that w 2 min read Angular ngx Bootstrap Popover Component Angular ngx bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites.In this article we will know how to use Popover in angular ngx bootstrap. Popover is used to make a button that will 2 min read Angular ng Bootstrap Rating Component Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will see how to use Rating in angular ng bootstrap. Rating component is used to make a component 2 min read Angular ng Bootstrap Popover Component Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites.In this article we will know how to use Popover in angular ng bootstrap. Popover is used to make a button that will b 2 min read Angular ng Bootstrap Timepicker Component Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will know how to use Timepicker in angular ng bootstrap. Installation syntax: ng add @ng-bootstr 2 min read Angular ngx Bootstrap Alerts Component Angular ngx bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will know how to use alert in angular ngx bootstrap. The Alerts is used to provide contextual f 2 min read Angular ng Bootstrap Alert Component Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will see how to use Alert in angular ng bootstrap. Alert is used to provide contextual feedback 2 min read Angular ngx Bootstrap Progressbar Component Angular ngx bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will know how to use Progressbar in angular ngx bootstrap. Progressbar is used to provide up-to 2 min read Like