4.6.1 • Published 4 months ago
@sikt/sds-button
Licence
UNLICENSED
Version
4.6.1
Deps
1
Size
100 kB
Vulns
0
Weekly
0
@sikt/sds-button
Consume
npm i -s @sikt/sds-button
React
import { Button } from "@sikt/sds-button";
import "@sikt/sds-button/dist/index.css";
<Button>Hello, World!</Button>;
Stylesheets & custom markup
Import stylesheet:
@import url("@sikt/sds-button");
Create custom markup:
<button class="sds-button sds-button--subtle">
<span class="sds-button__label">Hello, World!</span>
</button>