Skip to content

Toolbar

ARIA toolbar for grouping commands with orientation, density, and wrapping.

Usage

vue
<script setup>
import { Save } from "lucide-vue-next";
import { ArchToolbar, ArchIconButton } from "@archora/ui";
</script>

<template>
  <ArchToolbar aria-label="Editor actions">
    <ArchIconButton :icon="Save" label="Save" />
  </ArchToolbar>
</template>

Live sandbox

Toolbar can be tested directly on this page.

interactive
<Toolbar />

Props

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Orientation.
density"compact" | "cozy" | "comfortable""cozy"Toolbar density.
variant"plain" | "subtle" | "outlined""plain"Visual variant.
wrapbooleantrueAllows wrapping items.
ariaLabelstring-aria-label.
ariaLabelledbystring-aria-labelledby.

Slots

SlotPropsDescription
default-Toolbar buttons and controls.