Separator
A visual and semantic divider.
Give your AI assistant this page as context.
Connect your library with MCPLoading Vue preview…
ui/separatorUsage
Choose Vue in the Studio and export your saved library, or install this item through its connected CLI/MCP. Vue setup and Nuxt integration.
<script setup lang="ts">
import Separator from "./components/ui/separator.vue";
</script>
<template>
<div>Account<Separator />Preferences</div>
</template>
Design system
This Vue component consumes the same CodeRocket tokens as the React version. Import the compiled styles and wrap your app in ThemeScope. Tailwind is optional.
Behavior and accessibility
Vue uses native events, v-model and slots. Reka UI handles keyboard and focus behavior in complex primitives. Connect actions to your own application and review labels, contrast and mobile behavior in context. Components are experimental during early access.
Source and props
This is the exact Vue single-file component delivered by the export. Related helpers and dependencies are included automatically.
<script setup lang="ts">
import { Separator } from "reka-ui";
withDefaults(
defineProps<{
orientation?: "horizontal" | "vertical";
decorative?: boolean;
className?: string;
}>(),
{ orientation: "horizontal", decorative: false },
);
</script>
<template>
<Separator
:orientation="orientation"
:decorative="decorative"
:class="['cr-separator', className]"
/>
</template>