🚧 Landing pages building blocks https://landing-blocks.now.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bump-version f3d14d07bb Landing-blocks Version 1.0.18 [skip ci] 1 year ago
.github/workflows some changes 1 year ago
.vscode Initial commit 1 year ago
chakra-ui-forms ci 1 year ago
landing-blocks Landing-blocks Version 1.0.18 [skip ci] 1 year ago
website fixed bug with h1 child of h1 1 year ago
.gitattributes Initial commit 1 year ago
.gitignore updated ci and demo 1 year ago
CHANGELOG.md Landing-blocks Version 1.0.18 [skip ci] 1 year ago
README.md some changes 1 year ago
package.json removed baby i am faded from monorepo 1 year ago
yarn.lock some changes 1 year ago



npm i landing-blocks

project generation

a wizard takes the values to continue, every step is made by a single sorm element the form shows the next button only after the user has made the form dirty and validation passes at the end the form stores the values in memory and redirects to a page that takes these values, calls the function generatePage that creates the jsx tree for the page and then converts it to code adding the imports and exports.

the function creates the tree adding elements gradually, with components and styling based on user choices

finally you can download the file

### 1 content select content to use from Dolor amet sit, Contentful, DatoCMS

2 font

font family

3 colors

primary, secondary,

4 illustrations e images

illustrations library, mockups

5 components to include

hero, faq, pricing, cta, ...

7 decorations

decorations like backgrounds, floating elements, ...

8 page preview

preview the page and pay if you want

9 content editing, change the content on screen

use contenteditable and replace the props in the editor when clicing save

6 project export

typescript or javascript, cra or nextjs or gatsby or single file

how to manage multiple styles for the same component

for every component type make a folder, the index will be the component types and structure other files will have other variations of the same component with changes in layout, icons used, font sizes, background styling, ... each variation will still be customizable with theme colors, fonts and you can replace certain illustration and icons (the decorations and animations will be built in)

switch between dark and light backgrounds

all the texts will have a color that changes based on the background brightness to maintain always the max contrast, the same with icons fill and stroke

customize content

to change content you can use object props and not compound components because object props are more easily discoverable and typed


colors - primary (primary color for cta buttons, certain decoration elements, illustrations, icons ) - black, used for text, - primary background, the page background - secondary background, break certain sections with darker look font


The assets are only svg and fonts, schema are unlined in code, fonts are taken with google fonts

All components are implemented with chakra ui and boxes, and the components that need css styling with emotion styled as wrapper component

Dead code elimination is done via web pack in client, thanks to exported modules from typescript


  • themeable

  • extensible

  • maintenable

  • evolvable

  • Easily integrate with your existing react components

  • Evolve your codebase more easily

  • Extend with your own code and style

  • Switch between design style changing a single prop


  • easily integrate with headless CMS
  • theme colors, fonts, illustrations colors, icons colors
  • integrate with illustrations
  • super lightweight components, only inline svgs and css in js
  • tree shakeable
  • self contined css via styled system
  • animations built in


  • FeatureSection

  • HeroSection

  • CtaSection

  • FooterSection

  • TestimonialsLogos

  • TestimonialsTweets

  • TestimonialQuotes

  • Faq

  • HowItWorks

  • FeaturesGrid

  • FeatureList

  • MockUp, add image inside laptop or phone

  • Illustration, pre defined illustrations