[ClipBoardCopy] - [add ability to add space between text and button] #5572
Replies: 3 comments
-
Depending on the design, you could do this now by inserting non-breaking spaces - here's an example using We could possibly update the inline-block variant to separate the text and copy icon. Something like this to keep the copy icon on the same line as the text - https://codesandbox.io/s/intelligent-cherry-bklx8e?file=/index.tsx. Or this to have the copy button in the top/right - https://codesandbox.io/s/serene-napier-399f6h?file=/index.tsx cc @mcarrano @andrew-ronaldson wdyt? |
Beta Was this translation helpful? Give feedback.
-
@adonispuente can you provide a full page mockup to provide more background? I'd like to understand why this layout is necessary. |
Beta Was this translation helpful? Give feedback.
-
I am going to convert this to a discussion until we determine if this would be a recommended use case and if we'd want to introduce a new ClipboardCopy style variant. Generally, we avoid doing this to keep cross product design/experience consistent. |
Beta Was this translation helpful? Give feedback.
-
Is this a new component or an extension of an existing one?
ClipboardCopy
Describe the feature
The ability to allow seperating the button on clipboard from the text so that it can meet new design mocks. As shown here
Any other information?
Beta Was this translation helpful? Give feedback.
All reactions