Skip to content

Collapsible

A collapsible element that can be expanded or collapsed.

API Documentation

Import

Terminal window
import { Collapsible } from "@aeonkit/react";

Usage

Default

The asChild prop is used to pass a child element as the trigger for the collapsible content.

Props

API Interface: CollapsibleProps