@neynar/ui
Version:
React UI component library built on shadcn/ui and Tailwind CSS
47 lines (36 loc) • 1.04 kB
Markdown
# TabsTrigger
**Type**: component
Individual clickable button that activates its associated tab content. Each trigger is associated with a specific tab panel via the `value` prop. The component automatically handles active states, focus management, and accessibility attributes. Supports icons, text, and custom content.
## JSX Usage
```jsx
import { TabsTrigger } from '@neynar/ui';
<TabsTrigger
value="value"
disabled={true}
className="value"
asChild={true}
>
{/* Your content here */}
</TabsTrigger>
```
## Component Props
### value
- **Type**: `string`
- **Required**: Yes
- **Description**: No description available
### disabled
- **Type**: `boolean`
- **Required**: No
- **Description**: No description available
### className
- **Type**: `string`
- **Required**: No
- **Description**: No description available
### children
- **Type**: `React.ReactNode`
- **Required**: No
- **Description**: No description available
### asChild
- **Type**: `boolean`
- **Required**: No
- **Description**: No description available