@fylgja/button
v1.2.8
Published
The Button component serves as an interactive element. To call your users to an action
Downloads
350
Readme
Fylgja - Button
The Button component serves as an interactive element. To call your users to an action.
Since not all buttons need to be an Call To Action.
The base button is as simple as possible and many styles can be build on top of this foundation.
Installation
npm install @fylgja/button
Then include the component in to your code via;
@use "@fylgja/button";
// Or via PostCSS import
@import "@fylgja/button";
@layer
support
If you need support for @layer
,
use the following import;
@use "@fylgja/button" with ($btn-layer: "components");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/button" layer("components");
How to use
For more information see the button docs on the Fylgja.dev.