> For the complete documentation index, see [llms.txt](https://docs.rowsncolumns.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rowsncolumns.app/configuration/components/toolbar.md).

# Toolbar

Toolbar component can be imported from spreadsheet module using the following code. You can compose your own toolbar or even use a third-party component to render the buttons.

[Radix icons](https://icons.radix-ui.com/) are used for the toolbar buttons, but this can be easily swapped to any icon set by using custom components.

<figure><img src="/files/KRZNH75lgVWUy3YrKya9" alt=""><figcaption><p>Toolbar</p></figcaption></figure>

<pre class="language-tsx"><code class="lang-tsx"><strong>import {
</strong>  Toolbar,
  ButtonDecreaseDecimal,
  ButtonFormatCurrency,
  ButtonFormatPercent,
  ButtonIncreaseDecimal,
  ButtonRedo,
  ButtonUndo,
  ScaleSelector,
  ToolbarSeparator,
  BackgroundColorSelector,
  BorderSelector,
  ButtonBold,
  ButtonItalic,
  ButtonStrikethrough,
  ButtonUnderline,
  ButtonInsertImage,
  ButtonInsertLink,
  ButtonSwitchColorMode,
  ThemeSelector,
  TableActions,
  FontFamilySelector,
  FontSizeSelector,
  MergeCellsSelector,
  TextColorSelector,
  TextFormatSelector,
  TextHorizontalAlignSelector,
  TextVerticalAlignSelector,
  TextWrapSelector
} from "@rowsncolumns/spreadsheet";
import { Separator } from "@rowsncolumns/ui";

const App = () => {
  return (
    &#x3C;Toolbar>
      &#x3C;ButtonUndo />
      &#x3C;ButtonRedo />
      &#x3C;ToolbarSeparator />
      &#x3C;ScaleSelector />
      &#x3C;ToolbarSeparator />
      &#x3C;ButtonFormatCurrency />
      &#x3C;ButtonFormatPercent />
      &#x3C;ButtonDecreaseDecimal />
      &#x3C;ButtonIncreaseDecimal />
      &#x3C;TextFormatSelector />
      &#x3C;ToolbarSeparator />
      &#x3C;FontFamilySelector />
      &#x3C;ToolbarSeparator />
      &#x3C;FontSizeSelector />
      &#x3C;ToolbarSeparator />
      &#x3C;ButtonBold />
      &#x3C;ButtonItalic />
      &#x3C;ButtonUnderline />
      &#x3C;ButtonStrikethrough />
      &#x3C;TextColorSelector />
      &#x3C;ToolbarSeparator />
      &#x3C;BackgroundColorSelector />
      &#x3C;BorderSelector />
      &#x3C;MergeCellsSelector />
      &#x3C;ToolbarSeparator />
      &#x3C;TextHorizontalAlignSelector />
      &#x3C;TextVerticalAlignSelector />
      &#x3C;TextWrapSelector />
      
      &#x3C;ButtonInsertImage />
      &#x3C;ButtonInsertLink />
      &#x3C;ButtonSwitchColorMode />
      &#x3C;ThemeSelector />
      &#x3C;TableAction />
    &#x3C;/Toolbar>
  );
};
</code></pre>

## BottomBar

BottomBar component is a container for the footer of the Spreadsheet, which houses Sheet Tabs, Sheet Switcher, Sheet Status and NewSheetButton component


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.rowsncolumns.app/configuration/components/toolbar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
