import Layout from '../../components/Layout' import { ComponentsSidebar } from '../../sidebars' import { Playground } from '../../components/Playground'; import { Code, Heading, Paragraph } from '@knkui/typography'; export default function Surfaces() { return ( Paper component The background of an application resembles the flat, opaque texture of a sheet of paper, and an application’s behavior mimics paper’s ability to be re-sized, shuffled, and bound together in multiple sheets. The Paper is kinda special. Because it allows the style property, you can pass almost any CSS Property directly to the React component. alert('Works just like expected')} /> ` } /> Elevation styles Paper has a elevation property to give the component a box shadow and visually elevate it from the page. Most commonly you will be only using 0, 1 and 2. Elevation 0 Flat Papers Elevation 1 Floating Papers Elevation 2 Popovers and Dropdowns Elevation 3 Toasts Elevation 4 Dialog ` } /> ) }