# ButtonRenderProps (@salmonui/buttons/button)

> The ButtonRenderProps type of @salmonui/buttons/button: Props render receives: class names, data-* hooks, ARIA attributes, handlers, ref and children. Spread all of them onto the returned element. ref is typed to spread onto any element; it receives the rendered element.

Canonical: https://salmonui.dev/docs/reference/buttons/button/ButtonRenderProps

```ts
import type { ButtonRenderProps } from '@salmonui/buttons/button';
```

Entry index: https://salmonui.dev/docs/reference/buttons/button (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/buttons/button.md).

## Reference

Kind: type

```ts
type ButtonRenderProps = HTMLAttributes<HTMLElement> & {
    ref?: Ref<never> | undefined;
    [dataAttribute: `data-${string}`]: string | number | undefined;
};
```

Props `render` receives: class names,
`data-*` hooks, ARIA attributes, handlers, `ref` and `children`. Spread
all of them onto the returned element. `ref` is typed to spread onto any
element; it receives the rendered element.

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `ref` | `ref?: Ref<never>;` | optional, inherited |  |
