Organize content into switchable panels with the
Tabscomponent.
The Tabs component allows you to divide content into multiple panels that users can toggle between. Each tab can contain any type of content, including text, code blocks, or other components.
Example
First tab Welcome to the content that you can only see inside the first tab.
You can add any number of components inside of tabs. For example, a code block:
```java filename=GreetUser.java
import java.util.Scanner;
public class GreetUser {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Enter your name: ");
String name = scanner.nextLine();
System.out.printf("Hello, %s!%n", name); // Formatted output
scanner.close();
}
}
```
Second tab Here's content that's only inside the second tab.
This one has a icon!
Third tab Here's content that's only inside the third tab.
APIGIT - native git based API platform

Code:
<Tabs>
<Tab title="First tab">
Welcome to the content that you can only see inside the first tab.
You can add any number of components inside of tabs. For example, a code block:
```java filename=GreetUser.java
import java.util.Scanner;
public class GreetUser {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Enter your name: ");
String name = scanner.nextLine();
System.out.printf("Hello, %s!%n", name); // Formatted output
scanner.close();
}
}
```
Second tab
Here's content that's only inside the second tab.
This one has a icon!
Third tab
Here's content that's only inside the third tab.
APIGIT - native git based API platform
