On this page

Marker

Install, props and the parts Marker is built from.

Install

Run this in the app, after shadcn-vue init and the Beehexa theme (Button › Code):

npx shadcn-vue@latest add https://beehexa.design/r/marker.json

Use

<script setup lang="ts">
import { CirclePause } from '@lucide/vue'
import { Marker, MarkerContent, MarkerIcon } from '@/components/ui/marker'
</script>

<template>
  <Marker>
    <MarkerIcon><CirclePause /></MarkerIcon>
    <MarkerContent>An admin paused order sync at 09:12.</MarkerContent>
  </Marker>
</template>

Props

Part Prop Values Notes
Marker variant default, separator, border
Marker as, asChild element or component Default div. Use as="h3" (or the right level) when the marker starts a section people jump between
MarkerContent The text. Links inside stay underlined
MarkerIcon One icon, hidden from screen readers

Built on

The shadcn-vue Marker, a reka-ui Primitive. Beehexa changes only the styles and adds the focus outline to links.