Skip to Content
ComponentsCollapsible

Collapsible

An interactive component which expands/collapses a panel.

Installation

Install the package

npm install @abbyyproduct/ui

Import the component

import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from '@abbyyproduct/ui/components/collapsible';

Use the component

<Collapsible> <CollapsibleTrigger>Can I use this in my project?</CollapsibleTrigger> <CollapsibleContent> Yes. Free to use for personal and commercial projects. No attribution required. </CollapsibleContent> </Collapsible>

Usage

import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from '@abbyyproduct/ui/components/collapsible';
<Collapsible> <CollapsibleTrigger>Can I use this in my project?</CollapsibleTrigger> <CollapsibleContent> Yes. Free to use for personal and commercial projects. No attribution required. </CollapsibleContent> </Collapsible>

Examples

Default

@peduarte starred 3 repositories

@radix-ui/primitives

Changelog

2024-12-27 Example

This is an example of a changelog entry.

MyApp.tsx
import React from 'react'; function MyApp() { return <div>My App</div>; } export default MyApp;
Last updated on