Cards are where Antsand shows both sides of the system: Bootstrap-like semantic patterns and Tailwind-like field utilities.
Promote repeated card patterns into Sass v2. Use Databoard utilities for one-off layout, spacing, motion, and polish.
Use antsand-card, antsand-card-shadow, and antsand-card-hover when the visual pattern repeats across generated sites.
data.sub_container = antsand-card antsand-card-shadow antsand-card-hover
data.item.css_class = antsand-card-feature
data.h3 = antsand-card-title
data.p = antsand-card-text
For blog previews, products, portfolios, and docs examples. The media frame is a stable slot: data.img_container.
data.item.css_class = antsand-card-media
data.img_container = antsand-card-media-frame
data.img_src = antsand-card-media-img
data.content_wrapper = antsand-card-body
A centered content/action card for downloads, upgrades, newsletter prompts, app installs, and membership funnels.
data.item.css_class = antsand-card-cta
data.cta_container = stylesdoc-path-actions
data.cta = antsand-btn antsand-btn-primary
Side-by-side media and content. It remains the same H/B/F data contract; only the card class changes.
data.item.css_class = antsand-card-horizontal
data.img_container = antsand-card-media-frame
data.content_wrapper = antsand-card-body
Dark-on-dark layouts need explicit text, borders, and separation. Use shadow-glow or shadow-glow-brand from Sass v2 utilities.
data.item.css_class = antsand-card-dark shadow-glow
// or use shadow-glow-brand for orange brand glow
If the pattern is one-off, compose it in Databoard: bg-white, border, rounded-xl, p-6, shadow-lg, hover:shadow-glow.
data.item.css_class = bg-white border rounded-xl p-6 shadow-lg hover:shadow-glow transition-all
Use for memberships, SaaS plans, retainers, paid newsletters, and tiered service packages.
data.item.css_class = antsand-card-pricing
data.description = pricing price + feature list HTML
data.cta = antsand-btn antsand-btn-primary
Antsand gives me a stable contract: content stays data, design stays Sass, and the generated page remains readable.
data.item.css_class = antsand-card-testimonial
data.p = quoted testimonial text
data.description = author block HTML
Compact cards for dashboards, launch pages, analytics, progress reports, and portfolio metrics.
data.item.css_class = antsand-card-stat
data.description = stat value + stat label HTML
data.p = supporting metric note
Use for generated portfolio grids, case studies, projects, apps, labs, and documentation examples.
data.item.css_class = antsand-card-project
data.category = Portfolio
data.tags = [HMVC, Sass v2, Databoard]
data.cta = antsand-btn antsand-btn-outline-primary
Use for product benefits, framework capabilities, service features, and landing page value props.
data.item.css_class = antsand-card-feature
data.icon = ✦
data.h3 = feature title
data.p = feature description
The Three Ways cards are not a custom page hack. They are normal card data: icon, h3, p, ul, small, then Sass applies nth-child accents and backgrounds.
Each card starts with portable content fields that map cleanly into the shared body renderer.
The card still uses the normal Sass v2 classes, so the pattern is reusable across generated sites.
Page-specific Sass adds nth-child accents, soft backgrounds, icon color, and spacing without changing the template.
data.container = stylesdoc-three-ways-grid
data.sub_container = antsand-card antsand-card-shadow antsand-card-hover stylesdoc-three-way-card
data.icon_container = antsand-card-icon stylesdoc-three-way-icon
data.h3 = antsand-card-title stylesdoc-three-way-title
data.p = antsand-card-text stylesdoc-three-way-copy
data.list = antsand-card-list stylesdoc-three-way-list
data.small = antsand-card-note stylesdoc-three-way-note