Skip to content

Conversation

@SwasthK
Copy link
Contributor

@SwasthK SwasthK commented Jun 7, 2025

🚀 Feature: Text-Based Icon Support

✨ What’s Added

  • Users can now generate icons using text (max 2 characters, e.g., A, BM).
  • Text is rendered inside the icon in place of a graphic or icon.
  • Existing color customization support applies to text as well.

🧪 Notes

  • Works seamlessly with the previous icon customization flow.
  • Font and style are consistent across all icons.
raysotexttoicons.mp4

@vercel
Copy link
Contributor

vercel bot commented Jun 7, 2025

@SwasthK is attempting to deploy a commit to the Raycast Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Contributor

vercel bot commented Jun 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ray-so ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2025 11:32am

Copy link
Contributor

@samuelkraft samuelkraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very cool @SwasthK, love to see it!

Two small things before merging:

  1. If you remove your custom text the last character is stuck in the icon even when the input is empty. Let's clear the icon content or reset the previous icon if that happens.
  2. A font family setting for the icon would be very useful if text is selected, but unless we add that we should use a font that's more on-brand for Raycast like Inter. That web font is included on the page already.

Copy link
Contributor

@samuelkraft samuelkraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@samuelkraft samuelkraft merged commit 98e1399 into raycast:main Jun 13, 2025
2 checks passed
@SwasthK SwasthK deleted the feat/text-icon-generator branch June 18, 2025 04:35
D-K-P pushed a commit to D-K-P/ray-so that referenced this pull request Jul 23, 2025
* feat: add support for generating icons from text

* Fix: reset icon on empty input and add font-family Inter
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.

2 participants