Feature Section

Demo

Low code

Alocite is a low code platform

Link

UI Generation

UI components are generated from a single source of truth

Link

Props

FeatureSectionProps

PropTypeDescriptionDefault
titlestringThe title of the section.N/A
descriptionReact.ReactNodeOptional description for the section.N/A
buttonAnchorProps & ButtonPropsProperties for the button component within the section.N/A
image{ src: string; alt: string; width: number; height: number }Properties for the image to be displayed in the section.N/A
imagePosition'left' | 'right'Position of the image relative to the text.N/A
classNames{ root?, textBlock?, title?, description?, image? }Custom CSS class names for styling various parts of the section.N/A

FeatureSectionsProps

PropTypeDescriptionDefault
featuresFeatureSectionProps[]An array of FeatureSectionProps to render each FeatureSection.N/A
startPosition'left' | 'right'Initial position of the image in the first FeatureSection.N/A
classNamestringCustom CSS class name for styling the FeatureSections container.N/A

Styles

Both components support custom styling through the classNames prop. This allows for extensive customization of each section's layout, text, and image. The FeatureSections component also allows for overall styling of the container that holds all the FeatureSection components.