Skip to content

UI Layouts & Design Mastery

Multi-Field Grid Layouts

Discord supports up to 3 inline fields per row. If more than 3 inline fields are consecutive, they automatically wrap to a new line.

{embed(field):πŸ‘€ Artist~{track.author}~true}
{embed(field):⏱️ Duration~{track.durationFormatted}~true}
{embed(field):πŸ”Š Volume~{player.volume}%~true}

Color Handling

You can pass colors in three formats:

  1. Hexadecimal with 0x: 0x5865F2
  2. Hexadecimal with #: #5865F2
  3. Dynamic User Color: {member.color} (uses user’s highest role color)

Progress Bar Design Pattern

You can craft dynamic ASCII playback progress bars using {slice} and mathematical expressions:

πŸ”˜β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬ ({player.positionFormatted} / {track.durationFormatted})