# Subcomponents

### Anchor

In this case, because you can control the Menu state from outside the component, the `Anchor`subcomponents works just like an Anchor, that means the `Menu` is displayed based on the location of the `Anchor`.&#x20;

<figure><img src="https://1631530894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3Lcw1cy2vsA9bEz125dK%2Fuploads%2FTL96aJ2POeLwwChRMPQ6%2Fimage.png?alt=media&#x26;token=2903e2fc-445e-4932-87c5-2227aa97a537" alt=""><figcaption></figcaption></figure>
