@forjacms/sections-react
v1.3.3
Published
React wrappers for @forjacms/sections Web Components. Auto-generated by Stencil.
Maintainers
Readme
@forjacms/sections-react
React wrappers for @forjacms/sections Web Components. Auto-generated by Stencil.
Installation
npm install @forjacms/sections @forjacms/sections-reactUsage
import { ForjaHero, ForjaFeatures, ForjaCta } from '@forjacms/sections-react';
export default function LandingPage() {
return (
<>
<ForjaHero
heading="Welcome"
subheading="Build something great"
primaryLabel="Get Started"
primaryHref="/signup"
/>
<ForjaFeatures items={features} columns={3} />
<ForjaCta heading="Ready?" buttonLabel="Sign Up" buttonHref="/signup" />
</>
);
}Available Components
All 24 @forjacms/sections Web Components are available as React components with typed props:
ForjaHero, ForjaFeatures, ForjaCta, ForjaGallery, ForjaTestimonials, ForjaPricing, ForjaFaq, ForjaContact, ForjaStats, ForjaTeam, ForjaTimeline, ForjaLogoCloud, ForjaNewsletter, ForjaVideo, ForjaDivider, ForjaText, ForjaPortfolio, ForjaTagCloud, ForjaProjects, ForjaBlog, ForjaLegal, ForjaNav, ForjaFooter, ForjaSectionRenderer
Peer Dependencies
@forjacms/sections>= 1.2.4react>= 18react-dom>= 18
License
AGPL-3.0-or-later
