Dropdown Menu

A simple dropdown menu element..

Installation

npx cedar-ui@latest add dropdown-menu
npm i @aminnausin/cedar-ui

or download the following folders to your project:

@/components/cedar-ui/dropdown-menu

Usage

vue
<script setup lang="ts">
import {
  DropdownMenu,
  
} from '@/components/ui/dropdown-menu'
</script>

<template>
  <DropdownMenu>
    
  </DropdownMenu>
</template>

Examples

Auth

You can manually show different items based on your auth state.

Edit this page on GitHub