Toolbars

The Toolbar component can be used as a fixed App Bar, or just a simple container for a few actions.

According to the material design spec, the toolbar changes height based on the device and orientation. This can actually make things very difficult to style and adds complexity for styling. I recommend making a static $md-toolbar-height instead.

This will showcase some of the styling that you can apply to a toolbar and example usage of adding a navigation button or additional actions.

When the nav prop is provided, a positioning className will be cloned into your element, so if your component does not accept and apply a className prop, it might display weirdly. If you use any component in react-md, this should not be a problem. It will only be for custom components.

The same happens to the actions prop.

Transparent

Themed

Colored

Prominent

Prominent Title

There are cases where the main title should be a dropdown menu of different actions instead of some plain text. If you supply a titleMenu instead of title, you can get some additional styling to get these menus to work.

This example shows how you can update toolbars to be considered "App Bars" by fixing them to the top of the page. There are some positioning CSS classes provided by react-md to help with this.

Since the toolbar is normally used as a fixed component, some additional helper class names have been created to help position content relative to a toolbar.

This class name will apply a margin-top to whatever element or component it has been applied to for the current media's toolbar height.

This class name is similar to the md-toolbar-relative except that it is used with prominent toolbars instead.

This applies additional margin to buttons to center them vertically in the toolbar. This should only be used if the buttons are not occurring in the actions or nav props.

This applies additional margin-left to any elements to position to the left keyline in a toolbar. This should really only be used if not using the nav and title props in a toolbar.

This applies additional margin-right to any elements to position to the left keyline in a toolbar. This should really only be used if not using the actions props in a toolbar.

This applies additional styles for a title in the toolbar. This should only be used if not using the title prop on a toolbar.

This applies additional margin-left to the title in the toolbar to match the current keyline. This should probably only be used if not using the title prop on a toolbar.

This applies additional styles to move the title to a more prominent section in the toolbar. This should probably only be used if not using the title prop on a toolbar.

network_wifinetwork_cellbattery_full12:30

Pastries

  • Aloo pie
  • Apple pie
  • Apple strudel
  • Bakewell pudding
  • Baklava
  • Bakpia Pathok
  • Banbury cake
  • Banitsa
  • Banket
  • Bear claw
  • Berliner
  • Bethmännchen
  • Bichon au citron
  • Bierock
  • Birnbrot
  • Bizcocho
  • Börek
  • Bossche bol
  • Bougatsa
  • Boyoz
  • Briouat
  • Bruttiboni
  • Bundevara
  • Burek
  • Canelé
  • Cannoli
  • Carac
  • Chatti Pathiri
  • Cherry pie
  • Chorley cake
  • Chouquette
  • Chou à la crème
  • Cinnamon Roll
  • Coca
  • Conejito
  • Cornish pasty
  • Conversation
  • Coussin de Lyon
  • Cream horn
  • Crocetta of Caltanissetta
  • Croissant
  • Cronut
  • Croquembouche
  • Cuban pastry
  • Curry puff
  • Dabby-Doughs
  • Danish pastry
  • Djevrek
  • Dutch letter
  • Eccles cake
  • Éclair
  • Empanada
  • Ensaïmada
  • Fa gao
  • Fig roll
  • Flaky pastry
  • Flaons
  • Flies graveyard
  • Franzbrötchen
  • Galette
  • Gâteau Basque
  • Gibanica
  • Gujiya
  • Gözleme
  • Gulab jamun
  • Gustavus Adolphus pastry
  • Gyeongju bread
  • Haddekuche
  • Hamantash
  • Heong Peng
  • Jachnun
  • Jalebi
  • Jesuite
  • Joulutorttu
  • Kalács
  • Kanafeh
  • Kifli
  • Klobasnek
  • Knieküchle
  • Kolache
  • Kolompeh
  • Kołacz
  • Komaj sehen
  • Kouign-amann
  • Krempita
  • Kringle
  • Kroštule
  • Kūčiukai
  • Kürtőskalács
  • Lattice
  • Leipziger Lerche
  • Linzer torte
  • Lotus seed bun
  • Ma'amoul
  • Macarons
  • Makroudh
  • Malsouka
  • Mandelkubb
  • Mantecadas
  • Marillenknödel
  • Marry girl cake
  • Mazarin
  • Miguelitos
  • Milhoja
  • Milk-cream strudel
  • Mille-feuille
  • Mooncake
  • Moorkop
  • Muskazine
  • Nazook
  • Nun's puffs
  • Öçpoçmaq
  • Ox-tongue pastry
  • Pain au chocolat
  • Pain aux raisins
  • Palmier
  • Pan dulce
  • Panzarotti
  • Papanași
  • Paper wrapped cake
  • Paris–Brest
  • Pastel
  • Pastizz
  • Pastry heart
  • Pâté Chaud
  • Pecan pie
  • Filo[clarification needed]
  • Pie
  • Pineapple bun
  • Pionono
  • Pithivier
  • Plăcintă
  • Pogača
  • Poppy seed roll
  • Pot pie
  • Prekmurska gibanica
  • Pretzel
  • Profiterole
  • Puff pastry
  • Punsch-roll
  • Punschkrapfen
  • Qottab
  • Quesito
  • Remonce
  • Rhubarb tart
  • Rollò
  • Roti tissue
  • Roze koek
  • Rugelach
  • Runeberg's torte
  • Rustico
  • Samosa
  • Schaumrolle
  • Schnecken
  • Schneeball
  • Schuxen
  • Semla
  • Sfenj
  • Sfogliatelle
  • Shortcrust pastry
  • Sou
  • Spanakopita
  • Spina santa
  • Streusel
  • Strudel
  • Stutenkerl
  • Sufganiyah
  • Sweetheart cake
  • Taiyaki
  • Toaster pastry
  • Torpil
  • Tortell
  • Tortita negra
  • Trdelník
  • Turnover
  • Utap
  • Vatrushka
  • Vetkoek
  • Viennoiserie
  • Vol-au-vent
  • Xuixo
  • Zeeuwse bolus
  • Zlebia