Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ark-ui/react

Package Overview
Dependencies
Maintainers
2
Versions
539
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ark-ui/react

A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.

  • 1.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
51K
decreased by-44.77%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 17 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc