mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-02-20 08:27:32 +08:00
As part of our readme generator, components can now opt in to displaying badges in their readme. The badges are generated from https://shields.io/ and are focused on an individual component. We're currently generating the following badges: - Open bug count.
43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
# Button bar
|
|
|
|
<!-- badges -->
|
|
|
|
<div class="article__asset article__asset--screenshot">
|
|
<img src="docs/assets/button_bar.png" alt="Button Bar" width="375">
|
|
</div>
|
|
|
|
The Button Bar is a view that represents a list of UIBarButtonItems as horizontally aligned buttons.
|
|
|
|
<!-- design-and-api -->
|
|
|
|
## Related components
|
|
|
|
* [NavigationBar](../../NavigationBar)
|
|
|
|
<!-- toc -->
|
|
|
|
- - -
|
|
|
|
## Overview
|
|
|
|
A Button Bar is similar in concept to a UIToolbar, but Button Bars are **not** a drop-in API
|
|
replacement for UIToolbar. Button Bars are slightly more versatile in that one might use a Button
|
|
Bar to create a Toolbar or a Navigation Bar (left/right button bars).
|
|
|
|
Button Bar supports a subset of UIBarButtonItem's properties. Learn more by reading the section on
|
|
[UIBarButtonItem properties](#uibarbuttonitem-properties).
|
|
|
|
## Installation
|
|
|
|
- [Typical installation](../../../docs/component-installation.md)
|
|
|
|
## Usage
|
|
|
|
- [Typical use](typical-use.md)
|
|
- [Supported UIBarButtonItem properties](supported-uibarbuttonitem-properties.md)
|
|
|
|
## Extensions
|
|
|
|
- [Color Theming](color-theming.md)
|
|
- [Typography Theming](typography-theming.md)
|