Skip to content

Truncated breadcrumbs maximum characters/width #2329

Answered by shleewhite
samarthpuri asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @samarthpuri!

The Truncate component handles it all for you. If you put a maxWidth on the contents of a Breadcrumb item, it will shorten it to fit within that width.

There is an example of this on the Breadcrumb docs page: https://paste.twilio.design/components/breadcrumb/#breadcrumb-with-truncation. We don't have exact guidance around how many characters to truncate to, but in the example, the maxWidth is size10.

Please let me know if that helps!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by samarthpuri
Comment options

You must be logged in to vote
1 reply
@TheSisb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants