Skip to content

feat(Toast): iconPosition#623

Open
malinindev wants to merge 1 commit into
reshaped-ui:canaryfrom
malinindev:toast-icon-align
Open

feat(Toast): iconPosition#623
malinindev wants to merge 1 commit into
reshaped-ui:canaryfrom
malinindev:toast-icon-align

Conversation

@malinindev

@malinindev malinindev commented May 28, 2026

Copy link
Copy Markdown

Summary

Adds an optional iconPosition prop to Toast to control where the icon is placed relative to the content. Supports "start-center", "start-top", "end-center", "end-top".

By default, the icon sits at the inline start, aligned by the toast size. With iconPosition you can pin it to the top for multi-line content, or move it to the inline end.

Closes #605

Related Issue

#605

Screenshots / Recordings

image

Notes for Reviewers

  • Only affects icon, not startSlot (users can wrap startSlot themselves).
  • When icon is at the end, startSlot can be used alongside it.
  • Default "start-center" keeps the existing behavior.
  • Changeset added (minor bump).

@malinindev malinindev changed the title feat(Toast): iconAlign feat(Toast): iconPosition May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Support iconPosition for custom Toast icons

1 participant