Skip to content
Habitus Design

Blocks

39 page sections from packages/blocks, generated from one DSL into React 19, Svelte 5 and Go templ with identical DOM. Previews use fixtures/views/blocks.json (contract records).

navigation

  • Navbar

    Brand mark, primary menu and one call to action; inherits the surface color of its parent.

  • Announcement bar

    One-line release note above the navbar with a link.

hero

  • Hero with phones

    Full-bleed primary surface with navbar, centered headline, two actions, social badge and tilted app screens.

  • Hero centered

    Muted band with eyebrow badge, headline, lead and two actions.

  • Hero split

    Headline and actions beside an app screen on an accent panel.

features

  • Feature cards

    Split section header and three muted cards with an icon, title and description.

  • Feature grid

    Six features with icon badges on a plain grid.

  • Feature split

    Checklist of benefits beside an app screen.

  • Steps

    Ordered three-step explainer.

  • Integrations

    Grid of integration cards.

social-proof

  • Social proof split

    Accent panel with an app screen beside a statement and a muted logo strip.

  • Logo cloud

    Caption over a row of customer logos.

  • Stats row

    Four headline numbers with labels.

media

  • App gallery

    Centered header and a row of colored tiles, each filled by an app screen inside a 2px border that fades from the tile color at the bottom.

testimonials

cta

  • CTA split

    Accent panel with a display headline on the left and copy plus action aligned right.

  • CTA centered

    Primary band with headline and two actions.

  • App download

    Store buttons beside a phone on a dark panel.

pricing

faq

  • FAQ tiles

    Centered header, a 2×2 grid of colored disclosure tiles and a link to all questions.

  • FAQ accordion

    Native details/summary list; first item open.

  • Footer with newsletter

    Dark-scope footer card: brand and socials, two link columns, newsletter form, and a bottom bar with copyright and a source-repository link.

  • Footer simple

    Brand, inline links and copyright on one row.

about

content

  • Blog cards

    Three latest posts with image, tag, date and excerpt.

  • Changelog

    Release timeline with version badges.

forms

app

overlay

  • Cookie banner

    Consent notice with accept/decline (static; floating layer gets the only shadow).