# Logo

Display your logo with pride. The `Logo` component renders a logo image. It allows toggling between the brand color or a white logo and can display either the full logo or  the logo mark.&#x20;

You should replace the SVG files in the component folder with your own logo images.

### Usage

```javascript
import { Logo } from 'components/lib';

function MyComponent({ ...props }) {
  return (
    <div>
      <Logo/>
    </div>
  );
}

```

## Props

| Prop      | Description                              | Required | Value                   |
| --------- | ---------------------------------------- | -------- | ----------------------- |
| className | custom style                             | optional | SCSS or Tailwind        |
| color     | toggle between brand color or white logo | optional | string, default: white  |
| mark      | use a logo mark instead of the full logo | optional | boolean, default: false |

### Notes

* The `Logo` component uses the `AuthContext` to check for dark mode and force the white logo if dark mode is enabled.
* The `color` prop toggles between the brand color and the white logo.
* The `mark` prop determines whether to display the logo mark or the full logo.
* The `className` prop allows for custom styling to be applied.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.usegravity.app/gravity-web/components/logo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
