View on GitHub

Section Title

A Section Title renders distinct titles for various sections.


Usage

Import the SectionTitle component from “figBlocks”.

Position
<script>
	import { SectionTitle } from 'figblocks';
</script>

<SectionTitle>Position</SectionTitle>

Variants

The variant prop determines the visual style of the section title.

Position
Position
<SectionTitle variant="regular">Position</SectionTitle>
<SectionTitle variant="large">Position</SectionTitle>

Borders

The border prop adds the bottom border to the section title. It applies only for the large variant.

Position
<SectionTitle border variant="large">Position</SectionTitle>

Props

variant “regular” | “large” “large” Determines the visual style of the section title.
border boolean false If true, the bottom border is added to the section title.