erikdekamps / kingly_paragraph_hero
A Drupal recipe for a responsive hero paragraph component.
Installs: 32
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:drupal-recipe
Requires
- drupal/core: ^10.3 || ^11
- erikdekamps/kingly_minimal: dev-main
- erikdekamps/kingly_page: dev-main
- erikdekamps/kingly_paragraph_media: dev-main
This package is auto-updated.
Last update: 2025-07-29 07:56:10 UTC
README
Installs a responsive, accessible, and full-width hero paragraph type.
Overview
This recipe creates a new paragraph type named "Kingly Hero". This component is designed for creating prominent, visually engaging headers for pages or sections.
Features
- Configurable Content: Includes fields for a title, subtitle, and a call-to-action link.
- Background Image: Leverages a media reference for a responsive background image.
- Selectable Height: Editors can choose from several height options (small, medium, large, extra-large) to control the vertical space the hero occupies.
- Component-Driven: The frontend rendering is powered by the
kingly_minimal:hero
Single Directory Component (SDC), ensuring clean, modern, and maintainable code. - Accessibility: Designed with high contrast and proper semantics to meet WCAG standards.