LandingSection
The heading and spacing wrapper for every band of a landing page, with an optional eyebrow, title, description and top divider.
import { LandingSection } from '@lobehub/ui/awesome';Default
Wrap BentoGrid, CodeShowcase, FeatureGrid or your own content in a LandingSection so every band shares the same rhythm. The heading sits on the left with a tag above it, and actions or extra sit on the right. Set align="center" to stack everything centered.
APIs
actionsLandingAction[]Small buttons on the right side of the header, e.g. "Browse components".
align'start' | 'center'`start` puts the heading on the left and `actions`/`extra` on the right; `center` stacks everything centered.
Defaults to
"start".childrennull | string | number | bigint | false | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode>descriptionnull | string | number | bigint | false | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode>dividerbooleanDraws a hairline above the section to separate it from the previous one.
Defaults to
true.extranull | string | number | bigint | false | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode>Custom content on the right side of the header, after `actions`.
eyebrownull | string | number | bigint | false | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode>Small tag above the title, e.g. "Components".
eyebrowColorstringTag color: a preset such as `purple`, `blue`, `cyan`, `green`, `orange` or `magenta`, or any CSS color.
Defaults to
"blue".idstringUsed for the heading id so the section is labelled for assistive technology.
onNavigateLandingNavigateClient-side navigation for internal non-primary actions (rendered as BottomGradientButton).
renderLinkLandingLinkRendertitlenull | string | number | bigint | false | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode>
Also accepts all native HTML and ARIA attributes.