1. Rlx UI Library
  • Sections
    • Overview
    • Widgets
    • Components
    • Hooks
    • Utils
    • Animates
    • MCP Server
  • Get Started
    • Installation
    • Examples
  • Widgets
    • Accordion
    • Alert
    • Alert Dialog
    • Aspect Ratio
    • Avatar
    • Badge
    • Breadcrumb
    • Button
    • Button Group
    • Calendar
    • Card
    • Carousel
    • Checkbox
    • Collapsible
    • Combobox
    • Command
    • Context Menu
    • Dialog
    • Drawer
    • Dropdown Menu
    • Empty
    • Field
    • Form
    • Hover Card
    • Input
    • Input Group
    • Input OTP
    • Item
    • Kbd
    • Label
    • Menubar
    • Navigation Menu
    • Pagination
    • Popover
    • Progress
    • Radio Group
    • Resizable
    • Scroll Area
    • Select
    • Separator
    • Sheet
    • Sidebar
    • Skeleton
    • Slider
    • Sonner
    • Spinner
    • Switch
    • Table
    • Tabs
    • Textarea
    • Toggle
    • Toggle Group
    • Tooltip
    • Typography
  • Components
    • Auto Tooltip Text
    • Blur Reveal
    • Code Block
    • Code Preview Tabs
    • Code Tabs
    • Collapsible Panel
    • Inline Code
    • Quiz Box
    • Selectable Button
    • Selectable Pill
    • Shiki Code Block
    • Stacked Cards
    • Streaming Text
    • Theme Toggle
    • Timeline
    • Wave Text
  • Hooks
    • useCopyToClipboard
    • useIsMobile
    • useMediaQuery
  • Utils
    • isValidDate
  • Animates
    • Circular Swing

Accordion

A vertically stacked set of interactive headings that each reveal a section of content.

Installation

Install the following dependencies

Loading...

bash