Design help - How to create a box with a thin line border


I’m trying to create a text box with a thin border around, like this:


Here are my blocks - I’m trying to use a card inside a card with 0 paddings. I tried to use Elevation, but it does not create a thin line.


The output looks like this:

Is there a simple way to accomplish this? Maybe other components instead of cards?

Thanks for any help.

Something like this ?

The border should be thin gray, and consistent on all sides.

In this pic, the border is thick black, and the right and left borders are thicker than at top and bottom.


1 Like


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.