Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@smui/paper
Advanced tools
An elevated and/or colored surface.
See MDC Elevation for more information on API and Sass mixins.
See the Sass variable file for styling variables.
See the SMUI Sass variable file for additional styling variables.
npm install --save-dev @smui/paper
<script>
import Paper, {Title, Subtitle, Content} from '@smui/paper';
</script>
<Paper>
<Title>Paper</Title>
<Subtitle>This is a sheet of paper.</Subtitle>
<Content>Paper is used to build an elevated surface.</Content>
</Paper>
in action: https://sveltematerialui.com/#/demo/paper
demo code: https://github.com/hperrin/svelte-material-ui/blob/master/site/demos/Paper.svelte
A paper surface.
use
: []
- An array of actions and/or action/property arrays.class
: ''
- A CSS class string.square
: false
- Whether the component has square or rounded corners.color
: 'default'
- The component's color. ('primary', 'secondary' or 'default')elevation
: 1
- The component's elevation. (integer between 0 and 24, inclusive)transition
: false
- Trigger a transition animation when elevation is changed.All standard UI events are forwarded.
A fragment used as a title on the Paper.
Equivalent to the ClassAdder
with H5
common component.
A fragment used as a subtitle on the Paper.
Equivalent to the ClassAdder
with H6
common component.
A fragment used as a body of the Paper.
Equivalent to the ClassAdder
with Div
common component.
1.0.0-beta.8 (2019-08-30)
Note: Version bump only for package svelte-material-ui
FAQs
Svelte Material UI - Paper
The npm package @smui/paper receives a total of 4,608 weekly downloads. As such, @smui/paper popularity was classified as popular.
We found that @smui/paper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.