StarForge
Basic

Section

Compound component for structuring page sections with header, title, subtitle, description, content, and footer slots.

Note

All presented components are responsive and compatible with Tailwind CSS. Make sure Tailwind is configured in your project to use them.

Section Layout

A compound component that provides a structured layout for page sections. It wraps your content in a consistent container with optional header, title, subtitle, description, content body, and footer areas. Each sub-component can be used independently or composed together for a complete section block.

EEuMotta

Mastering Productivity in a Remote Work Environment

Create a Dedicated Workspace

Setting up a distraction-free workspace is crucial for remote work success. Choose a quiet area, invest in ergonomic furniture, and keep your tools organized to maintain focus and efficiency throughout your workday.

Prioritize Time Management

Effective time management separates top performers from the rest. Use techniques like the Pomodoro method or time-blocking to structure your day, ensuring you balance deep work with necessary breaks to avoid burnout.

Sub-Components

ComponentDescription
Section1.RootOuter wrapper with margin and optional custom classes
Section1.HeaderHeader area with bottom border and spacing
Section1.TitleSection title (h1) with semibold styling
Section1.SubTitleSubtitle (h1) with optional icon support
Section1.DescriptionMuted description paragraph
Section1.ContentMain content body area
Section1.FooterFooter area with flex layout

Props Reference

All sub-components share these base props:

PropTypeDescriptionDefault
childrenReact.ReactNodeContent to render inside the elementrequired
classNamestringAdditional CSS classesundefined

SubTitle also accepts:

PropTypeDescriptionDefault
defaultIconbooleanShow the default chevron-double-right iconundefined
iconReact.ReactNodeCustom icon element to displayundefined

v2.2.14