Package-level declarations

Properties

Link copied to clipboard

Returns the bottom of the breakpoint range that the current window's width is between.

Functions

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

A function you can call within a page to fetch the current breakpoint size.

Link copied to clipboard
fun Breakpoint.toMinWidthQuery(): CSSMediaQuery
Link copied to clipboard
fun Breakpoint.toPx(): CSSpxValue

Convenience method for fetching the associated SilkTheme.breakpoints value for the current Breakpoint value.

Link copied to clipboard

Convenience method for fetching the associated SilkTheme.breakpoints value for the current Breakpoint value.