Component

Vue Mobile Bottom Navigation

<DomAppBottomNav>

A thumb-friendly bottom navigation bar for primary app destinations.

Playground

Try every prop live

App bottom nav playground

Adjust the props to explore sizing, content, and behaviour.

App bottom nav playground

Preview

Mobile content area

Playground.vuevue
Install
npm install @getdom/studio
vue
<script setup>
import '@getdom/studio/style.css';
import { reactive } from 'vue';
import { DomAppBottomNav } from '@getdom/studio';

const data = reactive({
		"modelValue": "home",
		"items": [
			{
				"value": "home",
				"label": "Home",
				"badge": ""
			},
			{
				"value": "inbox",
				"label": "Inbox",
				"badge": "3"
			},
			{
				"value": "settings",
				"label": "Settings",
				"badge": ""
			}
		]
	});
</script>

<template>
	<DomAppBottomNav
		v-bind="data"
		@update:modelValue="data.modelValue = $event"
	/>
</template>

Reference

Props

Control props

NameTypeTSDefaultDescription
modelValuestringstring''Currently selected navigation item value.
itemsarrayArray<unknown>[]Navigation items: { value, label, icon, iconPath, badge }.

Auto-generated from App bottom nav.props and inline _edit hints.

Events

NamePayloadDescription
@update:modelValuestringFired when a tab is selected.
@changeobjectFired with the selected tab item.

Names auto-detected from defineEmits and source emit() calls; payload and description from __doc.events when present.