Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface TabsProps
implements PrimitiveDivProps
import { type TabsProps } from "https://deno.land/x/netzo@0.3.66/deps/@radix-ui/react-tabs.ts";

Properties

optional
value: string

The value for the selected tab, if controlled

optional
defaultValue: string

The value of the tab to select by default, if uncontrolled

optional
onValueChange: (value: string) => void

A function called when a new tab is selected

optional
orientation: RovingFocusGroupProps["orientation"]

The orientation the tabs are layed out. Mainly so arrow navigation is done accordingly (left & right vs. up & down)

optional
dir: RovingFocusGroupProps["dir"]

The direction of navigation between toolbar items.

optional
activationMode: "automatic" | "manual"

Whether a tab is activated automatically or manually.