Collapse

Basic usage

Shows regular, disabled, and custom-title panels with the title chevron.

Availability

Multiple panels can stay opened.

Disabled

Disabled panel content.

Custom title slot

Thin title thickness.

<script setup lang="ts"> import { ref } from "vue"; import { NmorphCollapse, NmorphCollapseItem } from "@nmorph/nmorph-ui-kit"; const opened = ref(["availability"]); </script><template> <NmorphCollapse v-model="opened" class="collapse-basic-usage-overview"> <NmorphCollapseItem name="availability" title="Availability" :block="false"> <p>Multiple panels can stay opened.</p> </NmorphCollapseItem> <NmorphCollapseItem name="disabled" title="Disabled" disabled :block="false" > <p>Disabled panel content.</p> </NmorphCollapseItem> <NmorphCollapseItem name="custom" :block="false" thickness="thin"> <template #title> <span>Custom title slot</span> </template>

NmorphCollapse Api

Attributes

Events

NmorphCollapseItem Api

Attributes

Slots

Resolution is not supported

Open the documentation on a device with a screen size of at least 375px by 640px.