1.3.0 • Published 2 years ago

@fylgja/input-group v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Fylgja - Input-group

NPM version license

The input group extends upon the @fylgja/form,

by providing a wrapper that allows for more complex form field styles,

like a search bar with button in the same form field.

Installation

npm install @fylgja/input-group

Then include the component in to your code via;

@use "@fylgja/input-group";
// Or via PostCSS import
@import "@fylgja/input-group";

Styles

By default the form style is set to our default style.

To use the field or box style. Change the variable $input-group-style. To one of the options, via;

@use "index" with ($input-group-style: box);

Or if you are a importing this as plain CSS in PostCSS or any other option. Import the style directly via;

@import "@fylgja/input-group/field.css";
/* Or */
@import "@fylgja/input-group/box.css";

For versions older than v1.2 use style-{field|box}.css

@layer support

If you need support for @layer, use the following import;

@use "@fylgja/input-group" with ($input-group-layer: "components");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/input-group" layer("components");

How to use

For more information see the input-group docs on the Fylgja.dev.

1.3.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago