ATOM
Components (registry)Layout

CTA Newsletter

Layout template: cta-newsletter

Contrato del layout

Un layout transporta anatomia, no pintura: se rellena por slots y depende del CSS de los componentes que lista. Instalarlo sin ellos lo deja sin estilos.

Slots
{{headline}}{{subtitle}}{{cta}}{{privacyNote}}
Componentes requeridos
inputbuttontypography

Anatomía CSS

<div class="layoutCtaNewsletter">

</div>

Tokens resueltos

Valores finales tras seguir la cadena de tokens. Derivados del source: si un token cambia, esta tabla cambia sola.

VariantePropValorToken
allfg#525252muted.foreground

CSS mínimo funcional

Autocontenido: sin imports ni tokens. Para previews y prototipos — en producción se consume el CSS del DS.

/* Layout: cta-newsletter — structure only */
.l-cta-newsletter {
  text-align: center;
  padding: 48px 32px;
  max-width: 480px;
  margin: 0 auto;
}
.l-cta-newsletter__headline {
  font-size: var(--text-xl);
}
.l-cta-newsletter__subtitle {
  color: #525252;
}
.l-cta-newsletter__form {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.l-cta-newsletter__privacy {
  font-size: var(--text-xs);
  color: #525252;
}

Codigo fuente

layouts/cta-newsletter.css
/* Layout: cta-newsletter — structure only */
.l-cta-newsletter {
  text-align: center;
  padding: var(--spacing-12) var(--spacing-8);
  max-width: 480px;
  margin: 0 auto;
}
.l-cta-newsletter__headline {
  font-size: var(--text-xl);
}
.l-cta-newsletter__subtitle {
  color: var(--muted-foreground);
}
.l-cta-newsletter__form {
  display: flex;
  gap: var(--spacing-2);
  margin: var(--spacing-4) 0;
}
.l-cta-newsletter__privacy {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

On this page

Detalles

Publicado14 de mayo de 2026
Categorialayout
Lectura...
Visitas...
Ayuda?Slack

Componente

Layout/ctaNewsletter

Source

components-react / cssDisponible via MCP: atom_uikit_source("layout/cta-newsletter")