ArekUI
Docs

Hero

Full-bleed banner for a headline and a call to action - one block, two layouts: the full-screen split (media beside text) and the centered banner (badges, title and CTAs stacked).

Full-screen split

ArekUI

A standalone CSS framework. No build step.

Centered banner
v2.0.0

ArekUI

Link two files and ship. No build step required.

Options

NameType / valuesDefaultMeaning
ar-heroclass on the section—Full-bleed banner: flex layer that centers its content on the --ar-base-200 surface with generous vertical padding.
ar-hero-contentclass on the inner wrapper—Content column, centered, max-width: 64rem - switches to a left-aligned row at 1024px so media and text sit side by side.
ar-min-h-screenclass on ar-herooffUtility that stretches the banner to the viewport height for the full-screen split layout; any height utility works the same way.
ar-text-centerclass on the single child of ar-hero-contentoffKeeps the stacked banner centered at every width, including the row layout above 1024px.
ar-bg-imgclass on the headlineoffPaints the title with the --ar-texture background clipped to the glyphs (background-clip: text); the background colour falls back to --ar-base-content.