Section

Please see the blocks page for more examples, since they are built using sections.

A section with equal columns

On mobile it's a single column, of course. All without having to think about responsiveness. It just works. Have a look at the code, it's down below.

placeholder landscape
---
import Section from 'fulldev-ui/components/Section.astro'
---

<Section
  heading="A section with equal columns"
  text="On mobile it's a single column, of course. All without having to think about responsiveness. It just works. Have a look at the code, it's down below."
  buttons={[
    {
      variant: 'primary',
      href: '/overview/installation',
      text: 'Installation',
      contrast: true,
    },
    { variant: 'secondary', href: '/structure/split', text: 'Component' },
  ]}
  image={'/images/placeholder-landscape.webp'}
/>

Props

PropTypeDefault
imageComponentProps<typeof Image>['src']-
positionComponentProps<typeof Image>['position']-
buttonsComponentProps<typeof Buttons>['buttons']-
buttonComponentProps<typeof Button>-
variantComponentProps<typeof Button>['variant']-
cardsComponentProps<typeof Cards>['cards']-
panelComponentProps<typeof Card>['panel']-
pagesCollectionEntry<'pages'>['data'][]-
recordsCollectionEntry<'records'>['data'][] structure?: | ComponentProps<typeof Cards>['structure'] | 'column' | 'split' | 'spread'-
size'sm' | 'md' | 'lg'-
color'base' | 'brand'-
contrastboolean-
theme'light' | 'dark'-
levelComponentProps<typeof Heading>['level']-
badgeComponentProps<typeof Badge>-
taglineComponentProps<typeof Tagline>['text']-
headingComponentProps<typeof Heading>['text']-
textComponentProps<typeof Text>['text']-
listComponentProps<typeof List>['items']-
iconComponentProps<typeof Icon>['name']-
align'start' | 'center' | 'end' rating?: | ComponentProps<typeof Rating> | ComponentProps<typeof Rating>['value']-
HTML Attributessection-