Askr documentation
Generated API snapshot

@askrjs/themes/tabs

Exports from the declarations published in @askrjs/themes. Signatures reflect the published artifact.

Exports

This entrypoint publishes 7 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

Pilltype

Pill: (props: PillProps) => JSX.Element

A router-aware link styled as a pill, auto-marked active by matching the current route, with an active background highlight.

Pillstype

Pills: { (props: PillsProps): JSX.Element; (props: PillsAsChildProps): JSX.Element; }

Renders a <nav> wrapper (or, with asChild, merges onto a child) for a set of {@link Pill} links.

Tabtype

Tab: (props: TabProps) => JSX.Element

A router-aware link styled as a tab, auto-marked active by matching the current route (see {@link NavLinkProps.match}).

Tabstype

Tabs: { (props: TabsProps): JSX.Element; (props: TabsAsChildProps): JSX.Element; }

Renders a <nav> wrapper (or, with asChild, merges onto a child) for a set of {@link Tab} links.

TabsContenttype

TabsContent: (props: CatalogComponentProps) => JSX.Element

Styling-only tabs-content slot; visibility and panel association are consumer-owned.

TabsListtype

TabsList: (props: CatalogComponentProps) => JSX.Element

Styling-only tabs-list slot; it does not own tab selection, ARIA state, or keyboard behavior.

TabsTriggertype

TabsTrigger: (props: CatalogComponentProps<HTMLButtonElement>) => JSX.Element

Styling-only trigger button; it does not select or associate a tab panel.