#✅ | Formatting Text on Buttons
1 messages · Page 1 of 1 (latest)
You can style button labels the same way Minecraft’s /tellraw//title commands do: use a raw JSON text component as the button label. Just set the label to something like:
{"text":"Click me","color":"gold","bold":true}
That lets you change the color, bold/italic/underline, font, etc. (See the “Minecraft Text Components (Raw Component System)” section in the Text Formatting docs.)
Button labels don’t support Markdown or multi-line alignment codes, so you can’t left/right/center align them like Text elements. For alignment, you can fake it by adding extra spaces or adjusting the button’s position instead.
is it possible to do hex code for the color?
Yep! Button labels support Minecraft’s raw JSON text components, so you can use hex colors the same way you would in /tellraw. For example:
{"text":"Fancy Button","color":"#77fc03"}
This sets the label to the custom hex color. You can also mix in bold/italic/underlined etc. if needed.
(See the “Minecraft Text Components (Raw Component System)” section in the Text Formatting guide for more examples.)
Buttons don’t support Markdown alignment codes, so you’ll need to position the button or pad the label with spaces if you want it to appear more to the left/right.
If Alice isn't answering, you must either:
Include @Alice [AI] in your message
Use Discord's reply feature on any of her messages
The person who originally asked the question can send follow-up messages directly after the bot's response without mentioning or replying.
Is it possible to modify the scale of the text on a button?
Button labels can’t be scaled directly (there’s no “text scale” option for buttons). You can change their font by using the raw JSON component syntax ({"text":"Button","font":"uniform"}) and color/bold/etc., but actual size is fixed by Minecraft’s button rendering.
If you need larger or stylized text, the usual workaround is to bake the text into the button texture itself or use a custom font that renders bigger glyphs. For more about using raw components, see the “Minecraft Text Components (Raw Component System)” section in the Text Formatting guide.
This support thread has been automatically marked as solved because there were no new messages for at least 24 hours.
If you still need help, feel free to continue the conversation or create a new support thread.