Skip to content

Section

This is a generic section component we recommend you wrap all the sections sections of your pages in.

This is just a wrapper for a regular html <section> tag. However it comes with custom spacing and also a fade-in effect when the user scrolls it into view.

index.mdx
import { Section } from '@futurethemes/galaxy:components'
<Section>
# Hello there
## General Kenobi
</Section>

Props

class

string

Pass arbitrary classes to your final <section> tag.

Tailwind classes are allowed!