> For the complete documentation index, see [llms.txt](https://legacy-docs.aragon.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy-docs.aragon.org/developers/tools/aragonui/advances/publicurl.md).

# PublicUrl

PublicURL is used to access your local path to aragonUI’s assets (e.g. fonts, etc.), so they load properly. It is mostly used internally.

### Usage <a href="#usage" id="usage"></a>

```jsx
import { PublicUrl } from '@aragon/ui'

function App() {
  return (
    <PublicUrl>
      {url => (
        <img src={`${url}/example.png`} />
      )}
    </PublicUrl>
  )
}
```
