4.0.1 • Published 27 days ago

@sikt/sds-select v4.0.1

Weekly downloads
-
License
UNLICENSED
Repository
gitlab
Last release
27 days ago

@sikt/sds-select

Consume

npm i -s @sikt/sds-{form,select}

React

import { Select } from "@sikt/sds-select";
import "@sikt/sds-form/dist/index.css";
import "@sikt/sds-select/dist/index.css";

<Select />;

Stylesheets & custom markup

Import stylesheet:

@import url("@sikt/sds-form");
@import url("@sikt/sds-select");

Create custom markup:

<div class="sds-select">
  <label for="id">
    <div class="sds-select__label">Label</div>
    <div class="sds-select__select">
      <select
        id="id"
        class="sds-select__select-input"
        aria-describedby="id-described"
      >
        <option>Option</option>
      </select>
    </div>
    <svg class="sds-icon sds-select__select-button">...</svg>
  </label>
  <div id="id-described" class="sds-select__help-text">Help text</div>
</div>
3.0.4

3 months ago

3.0.3

3 months ago

3.0.2

4 months ago

3.0.1

8 months ago

4.0.1

27 days ago

4.0.0

2 months ago

2.0.3

1 year ago

3.0.0

10 months ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago