NV Elements Catalog Starters Repo System Themes Getting Started Getting Started Installation CLI MCP Skills Lint Integrations Getting Started Angular Bundles Custom Elements Golang Hugo Import Maps Lit Lit Library MCP Apps NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue About Changelog Metrics Support Accessibility Contributions Requests Migration Foundations Overview Typography Iconography Themes Design Tokens Size & Space Objects Interactions Support Status Color Animation Fonts Layers Custom Layout Horizontal Vertical Grid Popovers i18n Visualization View Transitions Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Color Combobox Copy Button Datagrid Integrations Column Action Column Alignment Column Fixed Column width Container Card Display Settings Footer Heatmap Keynav Multi Select Pagination Panel Detail Panel Grid Performance Placeholder Row Action Row Groups Row Sort Scroll Height Single Select Stripe Date Datetime Dialog Divider Dot Drawer Dropdown Dropdown Group Dropzone File Format Datetime Format Number Format Relative Time Forms Validation Actions Control Icon Icon Button Input Input Group Logo Menu Month Notification Page Page Header Page Loader Pagination Progressive Filter Chip Progress Bar Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Week Patterns Authentication Browse Chat Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Navigation Onboarding Panel Responsive Search Subheader Trend Code Codeblock Monaco Input Diff Input Editor Diff Editor Problems Markdown Markdown CSS Utility Labs Responsive Layout Viewport Container Patterns Forms API Design Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Internal Guidelines Agent Harness Agent Tooling Agent Ownership Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples

Tabs

stable:  0.2.4 Coverage: 92.30% Bundle: 14.98kb Lighthouse: 97 Axe Core Released: 0.10.0
Overview API Examples

<nve-tabs>

Properties

Property Attribute Description Values behaviorSelect behavior-select

Determines whether the tabs should handle selection behavior vs. defaults to off.

true
false
borderless borderless

Determines whether the tabs should display a border on selected items vs. defaults to show border.

true
false
vertical vertical

Determines whether the tabs should display in a vertical layout vs. defaulting to horizontal.

true
false

Slots

Slot Description default

default slot for tab-item

CSS Properties

Css-property Description --border-inset
--indicator-height
--indicator-border-radius
--indicator-background
--gap

<nve-tabs-item>

Properties

Property Attribute Description Values interestForElement interestfor
command command
string
commandForElement commandfor
popoverTargetAction popovertargetaction

The popover target action to perform on the popover target element. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction

show
hide
toggle
popovertarget popovertarget
string
popoverTargetElement none

Establishes a relationship between a popover and its invoker button. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement

current current

Indicates the element that represents the user's current location or position within a set. MDN

page Marks the current page within a set of navigation links.
step Marks the current step within a multi-step process or workflow.
disabled disabled

This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. MDN

true The element has a disabled state and does not accept interaction.
false The element has an enabled state and accepts interaction.
value value

Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. MDN

string
name name

The name of the button, submitted as a pair with the button value as part of the form data. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name

string
form form

Like input form, sets a button to submit a form outside its parent form. Returns a reference to the form element if available. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form

readOnly readonly

Indicates whether the user can change the element's value while it remains visible and focusable. MDN

true The element has a readonly state: the user cannot change its value, but can still focus and copy it.
false The element allows editing and the user can change its value through interaction.
expanded expanded

Indicates whether collapsible content is currently visible or hidden from the user. MDN

true The associated content expands and becomes visible to the user.
false The associated content collapses and hides from the user.
pressed pressed

Indicates the current state of a toggle button that switches on or off. MDN

true The button is in the pressed (on) state and the associated action or setting is active.
false The button is in the unpressed (off) state and the associated action or setting is inactive.
type type
string
selected selected

Indicates whether an element currently holds selection within a multi-option selection group. MDN

true The element holds selection and represents the user's current choice within the group.
false The element does not hold selection and the user can choose it.

Slots

Slot Description default

default slot for content

CSS Properties

Css-property Description --text-transform --cursor --height --color --border-radius --font-weight --font-size --padding --width --font-size

<nve-tabs-group>

Properties

Property Attribute Description Values alignment alignment

Determines the alignment of the popover relative to the provided anchor element.

top
start
end

Events

Event Description select

Dispatched when the selected tab value changes after an invoker --toggle updates selection

Slots

Slot Description value

Named panel content where the slot name matches a nve-tabs-item value.

default

Default slot for a single nve-tabs element. Do not use behavior-select on nve-tabs when using this group.

Invoker Commands

Command Description --toggle

Select the matching tab and reveal the panel whose slot matches the invoker value.

CSS Properties

Css-property Description --padding