saturation/uisaturation/ui
DocsComponentsBlocksPages
GitHub

Sections

IntroductionComponentsInstallationMCPTheming

Components

ComponentsAccordionAI Chat InputAlertAnimated GroupAnimated NumberAvatarBadgeBeamBlur FadeBorder TrailBreadcrumbButtonButton GroupCalendar PickerCardChartCheckboxCollapsibleComboboxCommandComparison SliderContext MenuCredit CardData TableDate PickerDialogDropdown MenuEmoji PickerEmptyFieldFiltersFull CalendarGlow EffectInputInput GroupInput OTPItemKanbanKbdMenubarNavigation MenuNovel EditorPaginationParallaxProgressProgressive BlurRadio GroupRippleSelectSeparatorSheetSkeletonSliderSonnerSpinnerSpotlightSwitchTableTabsText EffectText ShimmerTextareaToggleToggle GroupTreeTypography

Site Header

Sticky/transparent header shell with logo, nav, and actions slots. Includes scroll detection.

ACME
ProductsPricingDocs

Features

  • Scroll detection — Built-in scroll threshold hook
  • Transparent mode — Starts transparent on hero routes
  • Slot-based — Logo, nav, and actions as children
  • data-transparent attribute — Child components can style via group-data

API Reference

PropTypeDefaultDescription
logoReactNode-Logo element (left slot)
navReactNode-Navigation element (center slot)
actionsReactNode-Right-side actions
pathnamestring-Current pathname
transparentOnRoutesstring[]-Routes where header starts transparent
scrollThresholdnumber50Scroll distance before header becomes opaque