> ## Documentation Index
> Fetch the complete documentation index at: https://staging-docs.orderly.network/llms.txt
> Use this file to discover all available pages before exploring further.

# usePoster

> Hook to generate shareable poster images from position information with customizable styling.

`usePoster` generates a poster image based on position information. You can set the size, background color, font color, font size, and content position of the poster.

* [Tech docs](/sdks/tech-doc/modules/orderly_network_hooks#useposter)

```tsx theme={null}
const { ref, toDataURL, toBlob, download, copy } = usePoster({
  backgroundColor: "#0b8c70",
  backgroundImg: "/images/sdks/color-bg.png",
  color: "rgba(255, 255, 255, 0.98)",
  profitColor: "rgb(0,181,159)"
  // ...
});
```
