> Organize content into switchable panels with the `Tabs` component.

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

<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();
        }
    }
    ```
  </Tab>

  <Tab title="Second tab" icon="bird">
    Here's content that's only inside the second tab.

    This one has a <Icon icon="bird" /> icon!
  </Tab>

  <Tab title="Third tab">
    Here's content that's only inside the third tab.

    <Frame caption="APIGIT - native git based API platform">
    ![apigit](https://static.apigit.com/tahoe-winter.jpg)
    </Frame>

  </Tab>
</Tabs>

**Code**:
````html
<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();
        }
    }
    ```
  </Tab>

  <Tab title="Second tab" icon="bird">
    Here's content that's only inside the second tab.

    This one has a <Icon icon="bird" /> icon!
  </Tab>

  <Tab title="Third tab">
    Here's content that's only inside the third tab.

    <Frame caption="APIGIT - native git based API platform">
    ![apigit](https://static.apigit.com/tahoe-winter.jpg)
    </Frame>

  </Tab>
</Tabs>
````

## Properties

<Field name="title" type="string" required>
  The title of the tab. Short titles are easier to navigate.
</Field>

<Field name="icon" type="string">
  A [Font Awesome](https://fontawesome.com/icons) or [Lucide](https://lucide.dev/icons) icon.
</Field>
