FlipView
Details and Options
- Clicking anywhere inside a FlipView advances to the next object.
- Shift-clicking goes to the previous object.
- FlipView[list,Dynamic[i]] takes the displayed object to be specified by the dynamically updated current value of i, with the value of i being reset if a new object is displayed.
- The following options can be given:
-
Alignment Automatic how to align objects in the display area Background None background color to use BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the FlipView Enabled Automatic whether controls are enabled FrameMargins Automatic margins inside the overall frame ImageMargins 0 margins around the display area ImageSize Automatic the overall image size for the display area - With the default option setting ImageSize->Automatic, FlipView leaves space only for the expri currently being displayed.
- With ImageSize->All, FlipView always leaves space for the largest of the expri to be displayed, so that its overall size does not change.
- Controls such as Button and Slider are not clickable inside FlipView.
- EventHandler intercepts mouse clicks, but passes them through to FlipView if the setting PassEventsDown->True is given.
- The settings for BaseStyle are appended to the default style typically given by the "FlipView" style in the current stylesheet.
Examples
open all close allBasic Examples (1)
Scope (6)
FlipView Content (3)
Flip between several expressions:
FlipView[{a, b, c, d}]Flip between graphics or any other expressions:
FlipView[Table[Plot[Sin[n x], {x, 0, 10}], {n, 5}]]By default, FlipView resizes for each pane:
d = Table[Graphics[Circle[], ImageSize -> s], {s, 20, 50, 10}]{FlipView[d], FlipView[d, 3]}With ImageSize->All, FlipView leaves enough space to display without ever resizing:
{FlipView[d, ImageSize -> All], FlipView[d, 3, ImageSize -> All]}FlipView Control (3)
Start by displaying the third slide:
FlipView[{a, b, c, d}, 3]The setting is based on position:
{FlipView[{a, b, c, d}, Dynamic[x]], Dynamic[x]}Connect FlipView to a slider:
{FlipView[{a, b, c, d}, Dynamic[i]], Slider[Dynamic[i], {1, 4, 1}]}Options (10)
Alignment (1)
FlipView[{a, b, c, d}, Background -> Pink, ImageSize -> {30, 30}, Alignment -> Center]Align the expression to several positions:
Table[FlipView[{a, b, c, d}, Background -> Pink, ImageSize -> {30, 30}, Alignment -> {j, i}], {i, {Top, Center, Bottom}}, {j, {Left, Center, Right}}]//GridAutoAction (1)
FlipView advances as the cursor moves over it:
FlipView[{a, b, c, d}, AutoAction -> True, ContinuousAction -> False, ImageMargins -> 30, Background -> Gray]Background (1)
BaselinePosition (1)
Enabled (1)
FrameMargins (1)
ImageMargins (1)
ImageSize (3)
Use ImageSize to control the width:
Table[FlipView[{a, b, c, d}, Background -> Gray, ImageSize -> x], {x, {10, 20, 50}}]By setting the second element you can also control the height:
Table[FlipView[{a, b, c, d}, Background -> Gray, ImageSize -> {Automatic, x}], {x, {10, 20, 50}}]Table[FlipView[{a, b, c, d}, Background -> Gray, ImageSize -> x], {x, {{10, 20}, {20, 50}, {50, 25}}}]Applications (3)
Select a function by its graph:
DynamicModule[{fl = {Sin, Tan, Exp, Sqrt}},
{FlipView[Table[Plot[f[ x], {x, 0, 10}], {f, fl}], Dynamic[x]], Dynamic[fl[[x]]]}]Flip through the first 25 1D cellular automata behaviors:
FlipView[Table[ArrayPlot[CellularAutomaton[i, {{1}, 0}, {25, All}]], {i, 25}]]FlipView[{#, CountryData[#, "Flag"]}& /@ CountryData[]]FlipView[{#, Rasterize@CountryData[#, "Shape"]}& /@ CountryData[]]Properties & Relations (1)
Tech Notes
-
▪
- Views
Related Guides
Text
Wolfram Research (2007), FlipView, Wolfram Language function, https://reference.wolfram.com/language/ref/FlipView.html (updated 2008).
CMS
Wolfram Language. 2007. "FlipView." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/FlipView.html.
APA
Wolfram Language. (2007). FlipView. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FlipView.html
BibTeX
@misc{reference.wolfram_2026_flipview, author="Wolfram Research", title="{FlipView}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/FlipView.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_flipview, organization={Wolfram Research}, title={FlipView}, year={2008}, url={https://reference.wolfram.com/language/ref/FlipView.html}, note=[Accessed: 13-June-2026]}