# Size Property
Sets the size of a component. Supports predefined scale values and custom CSS sizes.
```jsx featured
Medium
```
[View Source](https://github.com/LocusInc/locus-ui/tree/main/packages/locus-ui/src/props/size.prop.ts)
## Examples
### Size Scale
The `size` prop accepts values `xs`, `sm`, `md`, `lg`, and `xl`.
```jsx
{["xs", "sm", "md", "lg", "xl"].map((size) => (
{size.toUpperCase()}
))}
```
### Custom Size
The `size` prop also accepts custom CSS values.
```jsx
Custom Size
```