Split Screen

Split screen accordion with expanding partitions.

accordionsplitscreenlayout

Props

Customize the component with these props

PropertyTypeDefaultDescription
items
AccordionItem[][{id: '1', label: '01', title: '...', description: '...'}, ...]Array of accordion items with id, label, optional title, description, and content.
backgroundColor
stringtransparentBackground color of the component (hex, rgb, or hsl).
containerBorderColor
string#e4e4e7Border color of the container (hex, rgb, or hsl).
activeItemBgColor
string#f4f4f5Background color of the active item (hex, rgb, or hsl).
inactiveItemBgColor
string#ffffffBackground color of inactive items (hex, rgb, or hsl).
itemHoverBgColor
string#fafafaBackground color of items on hover (hex, rgb, or hsl).
itemBorderColor
string#e4e4e7Border color between items (hex, rgb, or hsl).
labelColor
string#18181bColor of item labels (hex, rgb, or hsl).
titleColor
string#18181bColor of item titles (hex, rgb, or hsl).
descriptionColor
string#71717aColor of item descriptions (hex, rgb, or hsl).
defaultActive
number | nullnullIndex of the initially active item (null for none).
height
string20remHeight of the accordion container (CSS value).
borderRadius
string0.75remBorder radius of the container (CSS value).
Split Screen - Uilora Accordions