Package org.patternfly.layout.bullseye


package org.patternfly.layout.bullseye
Provides the PatternFly bullseye layout for centering content both vertically and horizontally within a container.

The bullseye layout is useful for centering a single piece of content, such as a login form, empty state, or loading indicator, within a larger container.

Usage

Center content using the bullseye layout:
import static org.patternfly.layout.bullseye.Bullseye.bullseye;
import static org.patternfly.layout.bullseye.BullseyeItem.bullseyeItem;

bullseye()
        .addItem(bullseyeItem()
                .text("Centered content"));
See Also:
  • Classes
    Class
    Description
    The bullseye layout centers content, both vertically and horizontally within a container.