--- title: Tabs description: This section previews the Tabs component. date: 14-12-2024 --- The `Tabs` component allows you to organize content into multiple sections, enabling users to switch between them easily. This is particularly useful for displaying related content in a compact manner. ## Preview Java TypeScript ```java // HelloWorld.java public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } } ``` ```typescript // helloWorld.ts function helloWorld(): void { console.log("Hello, World!"); } helloWorld(); ``` ## Props | Prop | Type | Default | Description | | -------------- | -------- | ------- | ------------------------------------------------------ | | `defaultValue` | `string` | `null` | The value of the tab that is selected by default. | | `className` | `string` | `""` | Additional CSS classes for styling the Tabs component. | ## Code ````jsx Java TypeScript ```java // HelloWorld.java public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } } ``` ```typescript // helloWorld.ts function helloWorld(): void { console.log("Hello, World!"); } helloWorld(); ``` ````