# @askrjs/themes/center

> Published API exports for @askrjs/themes/center.

Source: [https://askrjs.com/docs/reference/api/themes/center](https://askrjs.com/docs/reference/api/themes/center)

Status: stable. Packages: @askrjs/themes/center.

**Published packages are authoritative.** Examples may lag behind a published contract. When guidance differs, verify the exports and TypeScript declarations in your installed package, then file an issue.

## Exports

This entrypoint publishes 2 exports from the declarations shipped by @askrjs/themes.

### `Center`

```ts
Center: (props: CenterProps) => JSX.Element
```

Centers content on both axes within the supplied Block dimensions.

### `CenterProps`

```ts
CenterProps: WithoutOwnedLayout<BlockProps, "align" | "justify"> & {
  align?: never;
  justify?: never;
}
```

- `align`: align?: undefined;

- `asChild`: asChild?: unknown;

- `background`: background?: unknown;

- `border`: border?: unknown;

- `borderBottom`: borderBottom?: unknown;

- `borderRight`: borderRight?: unknown;

- `borderTop`: borderTop?: unknown;

- `center`: center?: unknown;

- `children`: children?: unknown;

- `direction`: direction?: unknown;

- `gap`: gap?: unknown;

- `grow`: grow?: unknown;

- `height`: height?: unknown;

- `hide`: hide?: unknown;

- `justify`: justify?: undefined;

- `margin`: margin?: unknown;

- `marginX`: marginX?: unknown;

- `marginY`: marginY?: unknown;

- `maxHeight`: maxHeight?: unknown;

- `maxWidth`: maxWidth?: unknown;

- `minHeight`: minHeight?: unknown;

- `minWidth`: minWidth?: unknown;

- `padding`: padding?: unknown;

- `paddingX`: paddingX?: unknown;

- `paddingY`: paddingY?: unknown;

- `radius`: radius?: unknown;

- `ref`: ref?: unknown;

- `rowFrom`: rowFrom?: unknown;

- `shadow`: shadow?: unknown;

- `shrink`: shrink?: unknown;

- `sticky`: sticky?: unknown;

- `top`: top?: unknown;

- `width`: width?: unknown;

- `wrap`: wrap?: unknown;

- `zIndex`: zIndex?: unknown;

## Documentation navigation

[Previous](https://askrjs.com/docs/reference/api/themes/carousel/index.md) | [Next](https://askrjs.com/docs/reference/api/themes/checkbox/index.md)
