GitHub

Section

Content sections for organizing page layouts with header, description, actions, and content areas. Supports bordered, card, collapsible, and inset (iOS grouped) variants.

Basic

General Settings

Configure your account preferences and personal information.

Section content goes here. Forms, lists, or any other elements.

With Actions

Team Members

Manage your team and their permissions.

Alice JohnsonAdmin
Bob SmithEditor
Carol DavisViewer

Bordered

Profile

Your public profile information.

Name
John Doe
Email
john@example.com
Role
Developer
Location
New York

Card Variant

Notifications

Manage how you receive notifications.

Compact

Quick Stats

Overview of today.

142 Orders
$8,420 Revenue
23 New Users

Collapsible

Advanced Options

These options are for advanced users. Toggle the section header to show or hide.

Header Only (iOS Group Header)

Favorites

Safari
Messages
Photos

Divider Variant

Section One

First section content with a bottom divider.

Section Two

Second section content with a bottom divider.

Section Three

Last section, no divider.

Classes Reference

Class Description
.sectionBase section container with vertical margin
.section-headerHeader area (flex, space-between)
.section-header-contentTitle + description wrapper
.section-titleSection title
.section-descriptionDescription text below title
.section-actionsAction buttons area
.section-contentMain content area
.section-borderedBorder + background
.section-cardShadow + background (card style)
.section-insetiOS grouped style (horizontal margin)
.section-compactReduced padding and smaller text
.section-collapsibleClickable header for expand/collapse
.section-expandedOpen state for collapsible
.section-chevronChevron icon (rotates when expanded)
.section-bodyCollapsible grid wrapper
.section-body-innerOverflow hidden wrapper
.section-dividerBottom border between sections
.section-header-onlyiOS list group header style
.section-smSmall size
.section-lgLarge size
.section-disabledDisabled state
.section.glassGlassmorphism variant