Package-level declarations

Types

Link copied to clipboard

Enum representing Bootstrap screen size breakpoints.

Link copied to clipboard

Enum representing different screen size breakpoints.

Link copied to clipboard

Enum representing screen orientation.

Link copied to clipboard

Enum representing TailwindCSS screen size breakpoints.

Link copied to clipboard

Height-based window size class.

Link copied to clipboard
@Immutable
class WindowSizeClass

Window size classes are a set of opinionated viewport breakpoints to design, develop, and test responsive application layouts against. For more details check Support different screen sizes documentation.

Link copied to clipboard

Width-based window size class.

Functions

Link copied to clipboard

A composable function that calculates and returns the current window size class.

Link copied to clipboard

Returns a State object representing the current Bootstrap breakpoint of the screen.

Link copied to clipboard
@Composable
fun rememberBreakpoint(): State<Breakpoint>

Returns a State object representing the current breakpoint of the screen. It uses media queries to determine the current screen size.

Link copied to clipboard
@Composable
fun rememberMediaQueryAsState(query: String): State<Boolean>

Returns a State object representing whether the given media query matches the current screen.

Link copied to clipboard
@Composable
fun rememberOrientation(): State<Orientation>

Returns a State object representing the current screen orientation.

Link copied to clipboard

Returns a State object representing the current TailwindCSS breakpoint of the screen.