radix-ui / icons

A crisp set of 15×15 icons designed by the @workos team.
https://radix-ui.com/icons
MIT License
2.16k stars 108 forks source link

request: padding icon #42

Closed smeijer closed 3 years ago

smeijer commented 3 years ago

There is a margin icon, but not a padding one. It would be nice to also have the padding variant.

vladmoroz commented 3 years ago

Thanks for the request! Curious how would you imagine a distinct padding icon?

smeijer commented 3 years ago

I'm not sure actually. I did try inverting the dotted and solid line of the margin icon, but I'm not sure about the result:

image

What do you think?

<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.49999 5C4.77613 5 4.99999 4.77614 4.99999 4.5C4.99999 4.22386 4.77613 4 4.49999 4C4.22385 4 3.99999 4.22386 3.99999 4.5C3.99999 4.77614 4.22385 5 4.49999 5ZM7.99999 4.5C7.99999 4.77614 7.77613 5 7.49999 5C7.22385 5 6.99999 4.77614 6.99999 4.5C6.99999 4.22386 7.22385 4 7.49999 4C7.77613 4 7.99999 4.22386 7.99999 4.5ZM10.5 5C10.7761 5 11 4.77614 11 4.5C11 4.22386 10.7761 4 10.5 4C10.2238 4 9.99999 4.22386 9.99999 4.5C9.99999 4.77614 10.2238 5 10.5 5ZM4.49999 8.00012C4.77613 8.00012 4.99999 7.77626 4.99999 7.50012C4.99999 7.22398 4.77613 7.00012 4.49999 7.00012C4.22385 7.00012 3.99999 7.22398 3.99999 7.50012C3.99999 7.77626 4.22385 8.00012 4.49999 8.00012ZM11 7.50012C11 7.77626 10.7761 8.00012 10.5 8.00012C10.2238 8.00012 10 7.77626 10 7.50012C10 7.22398 10.2238 7.00012 10.5 7.00012C10.7761 7.00012 11 7.22398 11 7.50012ZM4.99999 10.5C4.99999 10.7762 4.77613 11 4.49999 11C4.22385 11 3.99999 10.7762 3.99999 10.5C3.99999 10.2239 4.22385 10 4.49999 10C4.77613 10 4.99999 10.2239 4.99999 10.5ZM7.49999 11C7.77613 11 7.99999 10.7762 7.99999 10.5C7.99999 10.2239 7.77613 10 7.49999 10C7.22385 10 6.99999 10.2239 6.99999 10.5C6.99999 10.7762 7.22385 11 7.49999 11ZM11 10.5C11 10.7762 10.7761 11 10.5 11C10.2238 11 10 10.7762 10 10.5C10 10.2239 10.2238 10 10.5 10C10.7761 10 11 10.2239 11 10.5ZM1 2C1 1.44772 1.44771 1 2 1H13C13.5523 1 14.0001 1.44772 14.0001 2L14 13C14 13.5523 13.5523 14 13 14H2.00002C1.44773 14 1.00002 13.5523 1.00002 13L1 2ZM2 2H13L13 13H2.00002L2 2Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>