About
Overflow menu trigger that opens a dropdown of additional tab options, showing the selected option's label as the trigger text. Host attributes and DOM event handlers (id, aria-*, data-*, drag and drop) reach the trigger button, not the popup or its options. The button keeps its role, tab stop, and menu disclosure attributes. Astryx by Meta. Source: https://astryx.atmeta.com/components/TabMenu
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Astryx Tab Menu to your project and fits it to your theme.
Code
How Astryx Tab Menu is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
'use client';
/* Copyright (c) 2026 Meta Platforms, Inc. See MIT notice in astryx-tab-menu.tsx. */
import '@/components/ui/astryx-tab-menu-utils/astryx-preview.css';
import {useState} from 'react';
import {TabList, Tab, TabMenu} from '@/components/ui/astryx-tab-menu';
function OfficialSample() {
const [value, setValue] = useState('settings');
return (
<TabList value={value} onChange={setValue}>
<Tab value="overview" label="Overview" />
<Tab value="activity" label="Activity" />
<TabMenu
label="More"
options={[
{value: 'settings', label: 'Settings'},
{value: 'integrations', label: 'Integrations'},
{value: 'billing', label: 'Billing'},
]}
/>
</TabList>
);
}
export default function Demo() {
return (
<div className="astryx-demo" data-astryx-theme="neutral" data-theme="light">
<div className="astryx-demo-content" data-centered style={{maxWidth: 460}}>
<OfficialSample />
</div>
</div>
);
}















