2.2.3 • Published 23 days ago

@ark-ui/react v2.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
23 days ago

Welcome to Ark UI

Ark UI is a headless, open-source UI library with over 30+ components designed for building reusable, scalable Design Systems. It supports a wide range of JavaScript frameworks, offering dedciated packages for each supported framework.

Supported Frameworks

Ark UI is available for the following JavaScript frameworks:

  • React: @ark-ui/react
  • Solid: @ark-ui/solid
  • Vue: @ark-ui/vue

Available Components

Installation

To install @ark-ui/react, run the following command:

npm install @ark-ui/react

or with yarn:

yarn add @ark-ui/react

Usage

To use a component from @ark-ui/react, import it and include it in your application:

import { Slider, type SliderProps } from '@ark-ui/react'
import { useState } from 'react'

export const MySlider = (props: SliderProps) => {
  const [value, setValue] = useState([42])

  return (
    <Slider.Root
      min={0}
      max={100}
      value={value}
      onValueChange={(e) => setValue(e.value)}
      {...props}
    >
      <Slider.Label>Label</Slider.Label>
      <Slider.ValueText />
      <Slider.Control>
        <Slider.Track>
          <Slider.Range />
        </Slider.Track>
        <Slider.Thumb key={0} index={0} />
      </Slider.Control>
      <Slider.MarkerGroup>
        <Slider.Marker value={25}>25</Slider.Marker>
        <Slider.Marker value={50}>50</Slider.Marker>
        <Slider.Marker value={75}>75</Slider.Marker>
      </Slider.MarkerGroup>
    </Slider.Root>
  )
}

Documentation

For more detailed documentation and examples, please visit the official documentation.

Roadmap

You can request, vote for, and check upcoming features on our roadmap.

Contribution

We welcome contributions to Ark UI. Please read our contributing guidelines for more information on how to contribute.

License

This project is licensed under the terms of the MIT license.

3.0.0-0

23 days ago

2.2.3

2 months ago

2.2.1

2 months ago

2.2.0

2 months ago

2.2.2

2 months ago

2.1.1

3 months ago

2.1.0

3 months ago

2.0.2

3 months ago

2.0.1

3 months ago

2.0.0

3 months ago

1.3.0

4 months ago

1.2.0

5 months ago

1.2.1

5 months ago

1.0.0-beta.5

6 months ago

1.1.0

5 months ago

1.0.1

6 months ago

1.0.0

6 months ago

1.0.0-beta.2

6 months ago

1.0.0-beta.3

6 months ago

1.0.0-beta.4

6 months ago

0.7.2

10 months ago

0.7.3

10 months ago

0.10.0

9 months ago

0.8.1

10 months ago

0.8.0

10 months ago

0.11.0-beta.0

9 months ago

0.11.0-beta.2

9 months ago

0.11.0-beta.1

9 months ago

0.11.0-beta.3

9 months ago

0.13.0

9 months ago

0.13.1

9 months ago

0.15.0-beta.0

8 months ago

0.14.0

8 months ago

0.11.0

9 months ago

0.9.0

10 months ago

0.12.0

9 months ago

0.10.0-beta.0

9 months ago

0.10.0-beta.1

9 months ago

1.0.0-beta.0

7 months ago

1.0.0-beta.1

7 months ago

0.15.0

8 months ago

0.7.1

10 months ago

0.8.0-beta.0

10 months ago

0.9.0-beta.1

10 months ago

0.9.0-beta.0

10 months ago

0.7.0

10 months ago

0.6.0

11 months ago

0.5.0

11 months ago

0.3.0

12 months ago

0.4.0

12 months ago

0.1.0

1 year ago

0.2.0

1 year ago