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

# Style and link

> Match your theme and send asset clicks to your own pages.

`appearance` sets the theme and size. `assetUrls` points each asset link at a page in your product.

```html theme={null}
<div id="centaur-feed"></div>

<script src="https://widgets.centaur.io/v1/sdk.js" crossorigin="anonymous"></script>

<script>
  const widget = CentaurWidgets.v1.mount(document.getElementById('centaur-feed'), {
    kind: 'feed',
    mode: 'live',
    widgetId: 'YOUR_WIDGET_ID',
    selection: { assetIds: [1] },
    appearance: { theme: 'dark', width: '100%', height: 420 },
    assetUrls: { 1: '/assets/btc' },
  });
</script>
```

With client-side routing, send asset clicks to your router:

```js theme={null}
widget.update({
  onAssetNavigate({ url }) {
    yourRouter.navigate(url);
    // Return false instead to keep normal browser navigation.
  },
});
```

A positioning card takes one `viewActivityUrl` instead of `assetUrls`, and sizes its own height.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.