Problem/Motivation

We need to develop a new Blockquote component that is fully compatible with Drupal Canvas and follows Bootstrap 5 styling standards.
The component should provide a clean and reusable quote presentation block with structured author information and flexible styling options.

The Blockquote component will be used for testimonials, highlighted statements, citations, and featured quotes across landing pages and content sections.

Quote Component

Key requirements:

  • Bootstrap 5 compatible structure
  • Canvas drag-and-drop support for quote content
  • Configurable quote text style (Normal / Italic)
  • Author and Author role styling (Quotee text style applied to both)
  • Horizontal alignment support (Start, Center, End)
  • Default bordered-left style
  • Configurable max-width option
  • No inline CSS/JS (SCSS-based styling only)

Steps to reproduce

  1. Add the Blockquote component in Drupal Canvas.
  2. Insert quote text.
  3. Add Author name and Author role/source.
  4. Select quote text style (Normal or Italic).
  5. Adjust alignment (Start, Center, End).
  6. Configure optional max-width setting.

The component should render consistently, with author styling applied properly and alignment affecting the entire content block.


Proposed resolution

  • Develop a new Blockquote component following Bootstrap 5 structure.
  • Implement left border styling as default visual indicator.
  • Add configurable Quote text style (Normal / Italic).
  • Apply Quotee text style consistently to both Author name and Author role.
  • Implement horizontal alignment using Bootstrap utility classes and enforce via SCSS for nested elements.
  • Add configurable max-width option for layout control.
  • Remove unused color variations and simplify design to a single default style.
  • Ensure full Canvas compatibility and drag-and-drop support where required.

The Blockquote component is designed to be lightweight, consistent, and production-ready, aligned with Varbase and Bootstrap 5 standards.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alamgir.hossain.cse created an issue. See original summary.

alamgir.hossain.cse’s picture

Issue summary: View changes

rajab natshah’s picture

Status: Active » Needs work

Use ready blockquote classes as from
https://getbootstrap.com/docs/5.3/content/typography/#blockquotes
Check for the examples of blockquote html placement and old implementation as
No custom classes
Follow with Bootstrap 5.3.8
also with the Varbase Design System
https://www.figma.com/design/shEqHupsCBTp2CmIiA84rv/VB---Stylesheet_2024...
No need for icons too
Explore component behavior in the design with dev mode ( to check on needed props and slots )

alamgir.hossain.cse’s picture

Status: Needs work » Needs review
rajab natshah’s picture

Status: Needs review » Needs work

Read my comments

rajab natshah’s picture

Assigned: alamgir.hossain.cse » Unassigned
Status: Needs work » Needs review
rajab natshah’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.