Build a Marketing Section with PaceUI's Section Builder
Combine a marketing layout and animated background in the PaceUI Section Builder, preview the result, and install the generated React source in your app.
PaceUI
The PaceUI Section Builder lets you combine a marketing content layout with an animated background, preview the composition, and view the React source and install commands for the selected layers. It is a practical way to explore a hero section before adding the code to a Next.js or TanStack Start project.
1. Open the Section Builder
Go to the PaceUI Section Builder. The workspace shows a live preview with controls for the available background and content layers. On a wide screen, the layer panels appear beside the preview. On smaller screens, open the layer panel from the preview toolbar.
2. Choose a background and content layout
Use the Backgrounds panel to compare animated backgrounds. Use the Contents panel to compare the text and call-to-action layout. Evaluate the combination against your page's actual message: the background should support legibility, and the content should give the visitor a clear next step.
The preview includes controls to refresh or randomize the current combination, hide the panels, and enter fullscreen. These help you compare options without rebuilding the composition by hand.
3. Inspect the generated code
When you have a composition you want to try, open View Code. The dialog shows the CLI install commands for the selected background and content, along with a React composition that places the background behind the content. Access to individual registry items depends on the selected items and your account; the dialog indicates when access is unavailable.
The generated composition follows this basic structure:
The builder's code dialog also shows the selected component imports, install commands, and source files. Use those generated details for the exact selected layers rather than copying placeholder import names from this simplified structure.
4. Install and adapt the layers
Use the CLI commands displayed by the builder in your app's project directory. The selected source is added to your codebase, where you can adjust copy, links, styles, and responsive behavior. Follow the dependencies listed for the chosen items and the installation documentation if you need registry setup help.
Before using the section in production, check that:
- The heading describes the page's offer or product clearly.
- The background does not compete with the text or call to action.
- The section works at your mobile and desktop breakpoints.
- The links point to real destinations and the copy matches your product.
- Any decorative background remains separate from the meaningful content.
When this workflow is useful
The Section Builder is useful when you are exploring a marketing hero or want to compare a few content and background combinations quickly. It gives you a preview and a starting point in code; your app still owns the final copy, styling, and integration decisions.
Browse more PaceUI blocks, or see how Motion components can add feedback to interactive parts of your interface.