# Block

A simple block-level container. The most basic layout primitive.

## When to Use

- Wrapping content in a block display context
- Base layout when you need `display: block` without extra semantics
- Generic container for styling with style props

## Properties

No component-specific props. Use style props directly.

### Style Defaults

- `display` — `block`

### Base Properties

Supports [Base properties](../BaseProperties.md).

### Style Properties

These properties allow direct style application without using the `styles` prop:

- **Base:** `display`, `font`, `preset`, `hide`, `whiteSpace`, `opacity`, `transition`
- **Position:** `gridArea`, `order`, `gridColumn`, `gridRow`, `placeSelf`, `alignSelf`, `justifySelf`, `zIndex`, `margin`, `inset`, `position`
- **Dimension:** `width`, `height`, `flexBasis`, `flexGrow`, `flexShrink`, `flex`
- **Block:** `border`, `radius`, `shadow`, `outline`, `padding`, `paddingInline`, `paddingBlock`, `overflow`, `scrollbar`, `textAlign`
- **Color:** `color`, `fill`, `fade`, `image`
- **Flow:** `flow`, `placeItems`, `placeContent`, `alignItems`, `alignContent`, `justifyItems`, `justifyContent`, `align`, `justify`, `gap`, `columnGap`, `rowGap`, `gridColumns`, `gridRows`, `gridTemplate`, `gridAreas`

## Examples

```jsx
<Block>
  <Text>Content in a block container</Text>
</Block>

<Block padding="1x" fill="#surface">
  Styled block with padding and background
</Block>
```
