@simple-svelte-ui/button
v1.0.4
Published
Native HTML button component enhanced with design to provide easy integration with Svelte.
Downloads
11
Readme
@simple-svelte-ui/button
Native HTML button component enhanced with design to provide easy integration with Svelte.
Installation
Install with npm:
npm install @simple-svelte-ui/button
Install with yarn:
yarn add @simple-svelte-ui/button
Usage/Examples
Svelte REPL example is available here
<script>
import {Button} from '@simple-svelte-ui/button';
</script>
<Button>Click me</Button>
Further more CButton
is also provided in this package with following customization
<script>
import {CButton} from '@simple-svelte-ui/button';
</script>
<CButton
variant = 'contained'
backgroundColor = 'red'
foregroundColor = 'black'
rippleColor='blue'
textTransform='lowercase'
fontWeight='bold'
>
Hello</CButton>