Visible
Specification
Props
Example
Explicit breakpoint
import React from 'react'
import { Visible } from 'atomic-layout'
export const Post = () => (
<article>
{/* Refer to a breakpoint defined in "Layout.configure()" by name */}
<Visible for="sm">
<p>Renders on "sm" breakpoint</p>
</Visible>
{/* Or, provide a custom breakpoint object */}
<Visible for={{ minWidth: 900, maxWidth: 1000 }}>
<p>Renders on the custom breakpoint</p>
</Visible>
</article>
)High-pass
Low-pass
Bell
Notch
Standalone usage
Custom breakpoints
Last updated