MD3 React

Toolbar

Docked bars and floating pills that keep key actions in reach.
import { Toolbar, ToolbarButton, ToolbarInput } from "@brijbyte/md3-react/toolbar";
@import "@brijbyte/md3-react/toolbar.css";

Docked

A toolbar surfaces up to five key actions for the current screen. The docked variant is a full-width, 64dp bar in surface-container — the expressive successor to the bottom app bar, always placed at the bottom of the window and best for global actions that stay the same across pages (here, browser controls). Items spread edge-to-edge by default (16dp leading/trailing space); override justify-content for packed or centered arrangements. Emphasize at most one action, e.g. with a filled icon button.

Wrap each action in ToolbarButton with the MD3 button passed to render: the toolbar then behaves as a single tab stop with arrow-key navigation between actions, per the ARIA toolbar pattern.

Citizen science

Citizen science, the involvement of the public in scientific research, has seen a remarkable surge in popularity in recent years. This trend is fueled by the increasing accessibility of technology and a growing public interest in science.

Participants develop valuable skills in data collection, analysis, and critical thinking, while researchers gain access to observations at a scale no single lab could gather. However, citizen science projects also raise questions about data quality and the fair attribution of contributions.

Floating

The floating variant is a content-hugging pill (12dp padding, 8dp between items, so the pill corner stays concentric with the buttons' circles) that floats over content — keep it at least 16dp from screen edges. It suits contextual actions for the content underneath: text formatting while editing, or message actions while reading. It comes in two color schemes: standard (surface-container, low emphasis — keeps focus on the content) and vibrant (primary-container, high emphasis — draws attention to the controls, e.g. entering an edit mode). In a vibrant toolbar the inner buttons re-map automatically: unselected content follows on-primary-container, and selected tonal toggles flip to surface roles so they stay legible against the colored field. In larger windows a floating toolbar can be a vertical rail on either side — pass orientation="vertical".

But honestly, the real highlight (at least for me!) is definitely the puppy! I can't wait to meet our adorable little furry friend — picture all the cuddles and playtime. And the pool? Perfect for cooling off on a hot summer day. There's even a game room, so I'm already envisioning evenings filled with laughter as we play games and just enjoy each other's company. What do you think? Are you free on Saturday afternoon? We could take a look together, grab some coffee afterwards and make a whole day of it! Let me know if you're interested.

But honestly, the real highlight (at least for me!) is definitely the puppy! I can't wait to meet our adorable little furry friend — picture all the cuddles and playtime. And the pool? Perfect for cooling off on a hot summer day. There's even a game room, so I'm already envisioning evenings filled with laughter as we play games and just enjoy each other's company. What do you think? Are you free on Saturday afternoon? We could take a look together, grab some coffee afterwards and make a whole day of it! Let me know if you're interested.

But honestly, the real highlight (at least for me!) is definitely the puppy! I can't wait to meet our adorable little furry friend — picture all the cuddles and playtime. And the pool? Perfect for cooling off on a hot summer day. There's even a game room, so I'm already envisioning evenings filled with laughter as we play games and just enjoy each other's company. What do you think? Are you free on Saturday afternoon? We could take a look together, grab some coffee afterwards and make a whole day of it! Let me know if you're interested.

Flexibility and slots

A toolbar is a container of slots, and slots aren't limited to icon buttons — text buttons, toggles, inputs, or any custom control work too. Icon buttons keep the hierarchy even; mix in a filled icon button or a tonal text button to emphasize a single action or the current selection. For chat- or search-style pills, ToolbarInput is a chrome-free input that inherits the pill's colors and joins the same keyboard navigation.

With a floating action button

A floating toolbar can pair with a FAB for the screen's primary action — a separate, elevated surface set 8dp from the pill, like the guidelines' email example: vibrant triage actions with a tertiary reply FAB.

Our cabin for the weekend

Hey!!! I've got pics and more info on our cabin for the weekend! Get ready to be impressed — it looks absolutely incredible from what I can see. The location seems perfect, nestled in a spot that looks ideal for both relaxation and exploration.

The cabin itself is spacious, with plenty of bedrooms and bathrooms so we can all spread out comfortably. The kitchen is well-equipped, perfect for whipping up some delicious meals together. And let's not forget the amazing outdoor area — sounds like the perfect place to soak up the sun, breathe in some fresh air, and unwind after a day of exploring.

Accessibility

Toolbar wraps Base UI's Toolbar: it renders role="toolbar" with aria-orientation, and ToolbarButton items form a roving tabindex (one tab stop; arrow keys move between actions, wrapping at the ends). Give every toolbar an aria-label naming its purpose, and every icon-only action its own aria-label.