Getting StartedComponentsDesign TokensThemingTheme SynthesizerFrameworksAccessibilityUtilitiesServer RenderingBrowser SupportContributingChangelogApp ShellAspect GridAuth ShellCenterContainerDashboard GridFloat BarInsetMasonryPage HeaderPage LayoutResizableResponsive SwitcherSectionSettings LayoutSplit PaneStatus BarStickyToolbarAnchor NavBottom NavBreadcrumbBreadcrumb MenuCommand BarDrawerFooterLinkMenubarNavigation MenuPage IndicatorPaginationRailScroll IndicatorScroll SpyScroll To TopSidebarSkip LinkStepper NavTabsTop BarTree ViewAccordionAspect RatioAvatarAvatar GroupCardCarouselCollapsibleColor SwatchCTA BannerDividerEmpty StateFeature CardIconImageImage CompareImage HotspotsInfinite ScrollLightboxMarqueeQR CodeScroll AreaSkeletonSpinnerStackVideoVirtual ListActivity HeatmapAnimated NumberBadgeBar ListChartClockComparisonCountdown TimerData GridDescription ListDiffGaugeJSON TreeKanbanLevel MeterListMeterSparklineStatStepperTagTimelineUptimeValue CardWaveformBlockquoteCode BlockCode GroupGradient TextHighlightKbdKeyboard MapMarkdownNumber FormatProseTerminalTextTime AgoTruncateTypewriterButtonButton GroupCalendarCheckboxChipColor PickerComboboxCopy ButtonDate PickerDate Range PickerField ListFieldsetFile UploadFormHotkeyIcon ButtonImage CropperInline EditInputInput GroupKnobLabelMasked InputMulti SelectNumber InputPassword InputPin InputRadio GroupRange SliderRatingSearchSegmented ControlSelectSignature PadSliderSortable ListSwitch GroupTag InputTextareaTheme ToggleTime PickerToggleTransfer ListTree SelectAlertAnnouncementBannerCommand PaletteConfirmConnection StatusContext MenuConversationDialogDropdown MenuHover CardLoading OverlayNotification PanelPopoverProgressSheetToastTooltip
ARC UIARC Radiant Components
v4.9DocsComponentsTokensSynthesizer
Getting StartedFrameworksServer RenderingDesign TokensThemingTheme SynthesizerTypographyUtilitiesAll ComponentsAccessibilityBrowser SupportChangelogContributingStatsApp ShellAspect GridAuth ShellCenterContainerDashboard GridFloat BarInsetMasonryPage HeaderPage LayoutResizableResponsive SwitcherSectionSettings LayoutSplit PaneStatus BarStickyToolbarAnchor NavBottom NavBreadcrumbBreadcrumb MenuCommand BarDrawerFooterLinkMenubarNavigation MenuPage IndicatorPaginationRailScroll IndicatorScroll SpyScroll To TopSidebarSkip LinkStepper NavTabsTop BarTree ViewAccordionAspect RatioAvatarAvatar GroupCardCarouselCollapsibleColor SwatchCTA BannerDividerEmpty StateFeature CardIconImageImage CompareImage HotspotsInfinite ScrollLightboxMarqueeQR CodeScroll AreaSkeletonSpinnerStackVideoVirtual ListActivity HeatmapAnimated NumberBadgeBar ListChartClockComparisonCountdown TimerData GridDescription ListDiffGaugeJSON TreeKanbanLevel MeterListMeterSparklineStatStepperTagTimelineUptimeValue CardWaveformBlockquoteCode BlockCode GroupGradient TextHighlightKbdKeyboard MapMarkdownNumber FormatProseTerminalTextTime AgoTruncateTypewriterButtonButton GroupCalendarCheckboxChipColor PickerComboboxCopy ButtonDate PickerDate Range PickerField ListFieldsetFile UploadFormHotkeyIcon ButtonImage CropperInline EditInputInput GroupKnobLabelMasked InputMulti SelectNumber InputPassword InputPin InputRadio GroupRange SliderRatingSearchSegmented ControlSelectSignature PadSliderSortable ListSwitch GroupTag InputTextareaTheme ToggleTime PickerToggleTransfer ListTree SelectAlertAnnouncementBannerCommand PaletteConfirmConnection StatusContext MenuConversationDialogDropdown MenuHover CardLoading OverlayNotification PanelPopoverProgressSheetToastTooltip

Section

Page section with optional uppercase label, consistent spacing.

ComponentsSection
layoutstatic
<arc-section>

Overview

Section is a vertical spacing and labeling primitive that wraps a block of page content in consistent padding and an optional uppercase label. It renders a semantic `<section>` element, centers its children at `--max-width`, and applies top and bottom padding (`--space-3xl`) that automatically tightens on screens narrower than 768px. Use it to divide a long page into visually distinct bands without manually managing padding or breakpoints. The optional `label` prop renders a small, uppercase, accent-font heading above the slot content. This label uses the `--section-title-weight`, `--section-title-size`, and `--section-title-spacing` tokens, so it stays consistent with every other section label in your application. It is muted (`--text-muted`) and typeset with `--font-accent` so it orients the reader without competing with a heading. Section sets `scroll-margin-top: var(--space-md)` on its inner wrapper, so when you link to a section by ID (or pair it with ScrollSpy), the browser scrolls to the right position, leaving room above the sticky nav bar. Combine Section with Container for width-constrained pages, or use it inside full-bleed layouts where the section itself handles horizontal centering.

Guidelines

When to use

  • Use Section to divide landing pages into logical content bands (features, pricing, testimonials)
  • Set the label prop for orientation: it helps users scan the page structure at a glance
  • Give each Section an id attribute so ScrollSpy and anchor links work correctly
  • Pair Section with Container when you need an additional width constraint inside a full-bleed band
  • Keep label text short: one or two words is ideal for uppercase labels

When not to use

  • Do not nest Section inside Section; use a heading or Divider for sub-grouping instead
  • Do not use Section as a generic flex container; it is a vertical spacing and labeling wrapper only
  • Do not override the responsive padding without testing on mobile screens
  • Do not rely on Section for navigation structure; use PageLayout or SettingsLayout instead
  • Do not place form elements directly inside Section without a Container for width constraint

Features

  • Semantic <section> element for accessible document structure
  • Optional uppercase label using `--font-accent` and `--section-title-`* tokens
  • Consistent vertical padding (`--space-3xl`) that tightens on mobile at 768px
  • Automatic horizontal centering at `--max-width` with `--space-lg` inline padding
  • Built-in scroll-margin-top for correct anchor-link positioning under sticky headers
  • Exposed CSS parts (section, label) for targeted ::part() styling
  • Responsive padding reduction via a built-in media query

Preview

What We Offer

A comprehensive set of UI primitives that handle layout, theming, and accessibility out of the box.

Usage

<arc-section label="Features">
  <h2>What We Offer</h2>
  <p>Section content here.</p>
</arc-section>

API

labelstring''
Section label displayed in uppercase above content

See Also