Components: Add layouts component

Created on 9 August 2024, 3 months ago
Updated 10 September 2024, 2 months ago

Problem/Motivation

Because we decided to not use layout options module, let's use UI Patterns 2.x components for layouts.

Proposed resolution

Expected components:

  • 1 col/region
  • 2 cols/regions
  • 3 cols/regions
  • 4 cols/regions
  • Dynamic number of cols/regions

Careful, it seems there are many ways in Tailwind to implement such layouts:

Which ones to take? Let's pick the future proof one, not necessary the one we are already familiar with.

Those components will have one slot by col/region (except the dynamic one which will have only one slot) and many many props to configure the grid/layout system. Sometime a prop will be duplicated by slot and/or by breakpoint.

📌 Task
Status

Fixed

Version

4.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024