mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-02-20 08:27:32 +08:00
42 lines
1.0 KiB
Markdown
42 lines
1.0 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
|
|
|
|
- [Theming](theming.md)
|