Skip to content

feat(showcase): implement e-commerce product card block in playground - #163

Merged
miguelramos merged 1 commit into
nextfrom
feature/line-ui-m3d-3-ecommerce-product-card
Mar 27, 2026
Merged

feat(showcase): implement e-commerce product card block in playground#163
miguelramos merged 1 commit into
nextfrom
feature/line-ui-m3d-3-ecommerce-product-card

Conversation

@miguelramos

Copy link
Copy Markdown
Member

Add the T3 composition block with two product cards (slate and mauve base schemas) demonstrating multi-schema coexistence. Features:

  • 2-column responsive grid (stacks on mobile)
  • Product images from picsum.photos with SVG fallback on error
  • Price badge using accent schema (--line-solid-background)
  • Rating stars using L3 alias --line-warning (amber) independent of schema
  • Size selector chips with accent-highlighted active state
  • Color selector dots using raw palette tokens (crimson, violet, slate, etc.)
  • Add to Cart button reactive to nav schema picker accent
  • Card neutrals use raw palette tokens (slate/mauve) directly in shadow DOM
  • All accent-responsive elements inherit CSS custom properties through shadow DOM boundary from body's active schema

Add the T3 composition block with two product cards (slate and mauve
base schemas) demonstrating multi-schema coexistence. Features:

- 2-column responsive grid (stacks on mobile)
- Product images from picsum.photos with SVG fallback on error
- Price badge using accent schema (--line-solid-background)
- Rating stars using L3 alias --line-warning (amber) independent of schema
- Size selector chips with accent-highlighted active state
- Color selector dots using raw palette tokens (crimson, violet, slate, etc.)
- Add to Cart button reactive to nav schema picker accent
- Card neutrals use raw palette tokens (slate/mauve) directly in shadow DOM
- All accent-responsive elements inherit CSS custom properties through
  shadow DOM boundary from body's active schema
@miguelramos miguelramos self-assigned this Mar 27, 2026
@miguelramos miguelramos added the ✨ TYPE: Feature New feature or capability label Mar 27, 2026
@changeset-bot

changeset-bot Bot commented Mar 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 091b06d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@miguelramos
miguelramos merged commit 7de7989 into next Mar 27, 2026
1 check passed
@miguelramos
miguelramos deleted the feature/line-ui-m3d-3-ecommerce-product-card branch March 27, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ TYPE: Feature New feature or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant