Skip to content

Landing page

A whole landing page stacked from ten section blocks: the header, a hero, features, metrics, customer proof, pricing, an FAQ, a closing call to action and the footer.

Installation & usage

Install
npx @youj/cli add marketing-cta marketing-faq marketing-feature-grid marketing-feature-spotlight marketing-footer marketing-hero-centered marketing-navbar marketing-pricing marketing-metrics marketing-social-proof

It’s 10 blocks stacked into one page, so it installs as those blocks, each with the components it uses.

Each band is a block of its own, with its alternatives on its page: the header and footer, the hero, features, metrics and logos and ratings, pricing, the FAQ and the closing call to action. The page installs as those section blocks, which Built from under Reference lists with the components they use; the page itself is the composition under Code.

Reference

Accessibilitylandmarks, headings, sections, motion

Accessibility

The page is the header, one main that holds the eight sections, and the footer, so the header and the footer sit outside main as landmarks. The hero's headline is the page's one h1; every section below it is a region named by its own h2 (headingLevel changes a section's). Each section keeps the keyboard and screen reader behavior its own page describes.

Under reduced motion the hero's aurora holds one frame and its text is already in place.