shadcn-vue/apps/www/src/content/docs/components/separator.md
2024-11-19 20:13:56 +08:00

776 B

title description source primitive
Separator Visually or semantically separates content. apps/www/src/lib/registry/default/ui/separator https://www.reka-ui.com/docs/components/separator.html

Installation

npx shadcn-vue@latest add separator

<template #Manual>

Install the following dependency

npm install reka-ui

Copy and paste the following code into your project

<<< @/lib/registry/default/ui/separator/Separator.vue

Usage

<script setup lang="ts">
import { Separator } from '@/components/ui/separator'
</script>

<template>
  <Separator label="Or" />
</template>