# Padding Property Controls padding for elements. Supports scaled values, custom values, and directional control. ```jsx featured Padding of 4 ``` [View Source](https://github.com/LocusInc/locus-ui/tree/main/packages/locus-ui/src/props) ## Examples ### Padding Scale The `p` prop accepts scale values `0`–`8` for consistent spacing. ```jsx {[0, 1, 2, 3, 4, 5, 6, 8].map((num) => ( {num} ))} ``` ### Padding Directions Use `p`, `pt`, `pb`, `pl`, `pr`, `px`, and `py` for directional padding control. ```jsx p = 2 pt = 2 pb = 2 pl = 2 pr = 2 px = 2 py = 2 ``` ### Custom Padding Padding also accepts custom CSS values. ```jsx p = 17px ```