A production component library·Now in private beta
v0.1.4 · May 6
02.01 / Reference

Tokens & attributes, at a glance.

A searchable reference for every --sdf-* design token, BEM class convention, and data-* hook the library actually uses — the global palette, per-component tokens, and the theming scope. Override any of them to reskin. Click any row to copy.

Attributes 73
Categories 6
Last sync Jul 8
Source v1.1
73 / 73 attributes
01 / Color & surface

Color & surface

The neutral palette every component reads from — override once to reskin all.

7 items
--sdf-bg — Global
#fff

Base page / component background.

--sdf-bg-alt — Global
#fafafa

Secondary background for insets and alternating bands.

--sdf-surface — Global
#fbfbfd

Raised surface — cards, panels, wells.

--sdf-text — Global
#0a0a0a

Primary text color.

--sdf-text-2 — Global
#52525b

Secondary / supporting text.

--sdf-text-3 — Global
#8a8a8a

Muted text — captions, meta, placeholders.

--sdf-border — Global
#ededf0

Hairline border / divider color.

02 / Brand accent

Brand accent

The single accent color and its foreground. Used sparingly for emphasis.

2 items
--sdf-accent — Brand
#005fff

The single brand accent — links, primary CTAs, live dots. Use sparingly.

--sdf-accent-fg — Brand
#fff

Foreground color on top of the accent.

03 / Shape, type & motion

Shape, type & motion

Radius, the Inter-only type stack, and the shared easing curve.

4 items
--sdf-radius — Shape
8px

Base corner radius; component radii derive from it.

--sdf-font — Type
'Inter', Helvetica, Arial

Body font stack. Inter / Helvetica / Arial only.

--sdf-font-display — Type
'Inter', Helvetica, Arial

Display / heading font stack.

--sdf-ease — Motion
cubic-bezier(.4,0,.2,1)

Shared easing curve for transitions.

04 / Component tokens

Component tokens

Scoped custom properties for tuning a single component in isolation.

54 items
--sdf-banner-max — Scoped
length

Maximum content width for the banner component.

--sdf-bento-gap — Scoped
length

Grid / flex gap for the bento component.

--sdf-bento-max — Scoped
length

Maximum content width for the bento component.

--sdf-cases-max — Scoped
length

Maximum content width for the cases component.

--sdf-contact-modal-width — Scoped
length

Width for the contact modal component.

--sdf-cta-banner-max — Scoped
length

Maximum content width for the cta banner component.

--sdf-cta-max — Scoped
length

Maximum content width for the cta component.

--sdf-faq-max — Scoped
length

Maximum content width for the faq component.

--sdf-feature-grid-gap — Scoped
length

Grid / flex gap for the feature grid component.

--sdf-feature-grid-icon — Scoped
length

Icon size for the feature grid component.

--sdf-feature-grid-max — Scoped
length

Maximum content width for the feature grid component.

--sdf-feature-grid-pad — Scoped
length

Internal padding for the feature grid component.

--sdf-feature-split-gap — Scoped
length

Grid / flex gap for the feature split component.

--sdf-feature-split-max — Scoped
length

Maximum content width for the feature split component.

--sdf-featured-max — Scoped
length

Maximum content width for the featured component.

--sdf-featured-radius — Scoped
radius

Corner radius for the featured component.

--sdf-hero-split-gap — Scoped
length

Grid / flex gap for the hero split component.

--sdf-hero-split-max — Scoped
length

Maximum content width for the hero split component.

--sdf-integrations-gap — Scoped
length

Grid / flex gap for the integrations component.

--sdf-integrations-max — Scoped
length

Maximum content width for the integrations component.

--sdf-integrations-tile-radius — Scoped
radius

Corner radius for the integrations tile component.

--sdf-logos-duration — Scoped
time

Loop / animation duration for the logos component.

--sdf-logos-fade — Scoped
length

Edge-fade width for the logos component.

--sdf-logos-gap — Scoped
length

Grid / flex gap for the logos component.

--sdf-logos-logo-height — Scoped
length

Element height for the logos logo component.

--sdf-logos-max — Scoped
length

Maximum content width for the logos component.

--sdf-logos-opacity — Scoped
0–1

Resting opacity for the logos component.

--sdf-marquee-duration — Scoped
time

Loop / animation duration for the marquee component.

--sdf-marquee-fade — Scoped
length

Edge-fade width for the marquee component.

--sdf-marquee-gap — Scoped
length

Grid / flex gap for the marquee component.

--sdf-members-gap — Scoped
length

Grid / flex gap for the members component.

--sdf-members-max — Scoped
length

Maximum content width for the members component.

--sdf-metrics-max — Scoped
length

Maximum content width for the metrics component.

--sdf-navbar-pro-max — Scoped
length

Maximum content width for the navbar pro component.

--sdf-newsletter-max — Scoped
length

Maximum content width for the newsletter component.

--sdf-pagehero-max — Scoped
length

Maximum content width for the pagehero component.

--sdf-post-grid-gap — Scoped
length

Grid / flex gap for the post grid component.

--sdf-post-grid-max — Scoped
length

Maximum content width for the post grid component.

--sdf-post-grid-radius — Scoped
radius

Corner radius for the post grid component.

--sdf-section-intro-max — Scoped
length

Maximum content width for the section intro component.

--sdf-showcase-max — Scoped
length

Maximum content width for the showcase component.

--sdf-steps-card-radius — Scoped
radius

Corner radius for the steps card component.

--sdf-steps-gap — Scoped
length

Grid / flex gap for the steps component.

--sdf-steps-max — Scoped
length

Maximum content width for the steps component.

--sdf-steps-pad — Scoped
length

Internal padding for the steps component.

--sdf-support-max — Scoped
length

Maximum content width for the support component.

--sdf-tabs-max — Scoped
length

Maximum content width for the tabs component.

--sdf-testimonial-avatar-radius — Scoped
radius

Corner radius for the testimonial avatar component.

--sdf-testimonial-avatar-size — Scoped
length

Element size for the testimonial avatar component.

--sdf-testimonial-grid-max — Scoped
length

Maximum content width for the testimonial grid component.

--sdf-testimonial-max — Scoped
length

Maximum content width for the testimonial component.

--sdf-timeline-gap — Scoped
length

Grid / flex gap for the timeline component.

--sdf-timeline-indent — Scoped
length

Rail indent for the timeline component.

--sdf-timeline-max — Scoped
length

Maximum content width for the timeline component.

05 / Class conventions

Class conventions

The BEM naming contract and the theming scope every component follows.

4 items
.sdf-<block> — BEM
block

The component root, e.g. .sdf-hero-split.

.sdf-<block>__<element> — BEM
element

A part of the block, e.g. .sdf-hero-split__title.

.sdf-<block>__<el>--<mod> — BEM
modifier

A variant of an element, e.g. .sdf-tier__card--featured.

.dark / [data-theme="dark"] — Theme
scope

Ancestor scope that flips every --sdf-* token to its dark value.

06 / Interaction hooks

Interaction hooks

The data-* attributes the library’s interactive components listen for.

2 items
data-sdf-modal-open — Modal
selector | id

Marks a trigger that opens the contact modal.

data-sdf-modal-close — Modal

Marks a control that closes the contact modal.

/ Nothing found

No matching attributes

Try a shorter query or browse the categories above.

/ Notes

Quick reference

N.01

Always use the data- prefix

Custom attributes must start with data- to remain valid HTML5. Webflow strips anything else on publish.

N.02

Case insensitivity

HTML attribute names are case-insensitive in the spec, but DOM tooling prefers lowercase kebab-case.

N.03

Access via dataset

In JavaScript, read attributes off element.dataset. The prefix is dropped, kebab-case becomes camelCase.

N.04

Naming convention

Use kebab-case for multi-word attributes (data-wf-cart-type). Avoid spaces, dots, or capitals.

A Stacklumen Product