# Tutorials

Explore focused guides for integrating and customizing TradingView widgets.
From basic embedding to advanced layout configurations, these tutorials help you build informative, data-rich financial sites with minimal effort.

:::warning

We offer two [widget types](https://www.tradingview.com/widget-docs/widget-formats.md).
Ensure you follow the guide matching your implementation:

- [Iframe](#iframe) uses a script that injects an iframe or utilizes a direct `<iframe>` tag.
- [Web components](#web-components) use a custom element tag starting with `tv-` (via ES module).

:::

## Iframe

### Build a page

Build a complete market details page by integrating multiple widgets that react to user navigation.

[Learn how to build a page →](https://www.tradingview.com/widget-docs/tutorials/iframe/build-page.md)

### Configure lazy loading

Optimize page loading speed by deferring widget rendering until visible on screen.

[Learn how to configure lazy loading →](https://www.tradingview.com/widget-docs/tutorials/iframe/lazy-loading.md)

### Set widget size

Ensure optimal display and functionality by correctly defining widget width and height.

[Learn how to set widget size →](https://www.tradingview.com/widget-docs/tutorials/iframe/set-widget-size.md)

## Web components

### Set up widget

Learn the essential steps to generate widget code and integrate single or multiple instances into your website.

[Learn how to set up a widget →](https://www.tradingview.com/widget-docs/tutorials/web-components/configuring.md)

### Manage layout and size

Ensure widgets display correctly on any screen by learning how they adapt to parent containers.

[Learn how to manage layout and size →](https://www.tradingview.com/widget-docs/tutorials/web-components/layout-and-sizing.md)

### Set styles and themes

Learn how to match widgets to your brand identity by overriding default colors, fonts, and backgrounds.

[Learn how to set styles and themes →](https://www.tradingview.com/widget-docs/tutorials/web-components/styling-and-themes.md)

### Customize links

Learn how to redirect symbol links to your own site using URL templates, global settings, or JavaScript event handlers.

[Learn how to customize links →](https://www.tradingview.com/widget-docs/tutorials/web-components/custom-links.md)

---

## Sitemap

- [All documentation pages](https://www.tradingview.com/widget-docs/llms.txt)
- [Full page map with headings](https://www.tradingview.com/widget-docs/docs_map.md)
