Location and Link Components

Learn how to use the Location and Link components of the Dash Core Components package.

These components are part of Dash Core Components, and their names make quite clear what they are and what they might do.

Getting to know the Location component

The Location component refers to the browser’s location bar. It’s also referred to as the address bar or the URL bar. We typically place a Location component in the app, and it doesn’t produce anything visible. We mainly use it to discover where we are in the app, and based on that, we induce some functionality.

Let’s create a simple example to see how it can be used in its simplest form.

Get hands-on with 1200+ tech skills courses.