shadcn-vue/apps/www/src/content/docs/components/separator.md
2023-09-20 14:19:08 +08:00

768 B

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

Installation

npx shadcn-vue@latest add separator

<template #Manual>

Install the following dependency

npm install radix-vue

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 />
</template>