Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@ark-ui/react
Advanced tools
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
@ark-ui/react
is an open-source UI component library designed to make building high-quality, accessible web applications easier. The library focuses on providing low-level UI components with an emphasis on accessibility, customization, and developer experience.
At the moment, @ark-ui/react
offers the following components:
To install @ark-ui/react
, run the following command:
npm install @ark-ui/react
or with yarn:
yarn add @ark-ui/react
To use a component from @ark-ui/react
, import it and include it in your application:
import {
Slider,
SliderControl,
SliderLabel,
SliderOutput,
SliderRange,
SliderThumb,
SliderTrack,
} from '@ark-ui/react'
import { useState } from 'react'
export const MySlider = () => {
const [value, setValue] = useState(30)
return (
<Slider min={-50} max={50} value={value} onChange={(e) => setValue(e.value)}>
<SliderLabel>Label</SliderLabel>
<SliderOutput>{value}</SliderOutput>
<SliderControl>
<SliderTrack>
<SliderRange />
</SliderTrack>
<SliderThumb />
</SliderControl>
</Slider>
)
}
For more detailed documentation and examples, please visit the official documentation.
We welcome contributions to @ark-ui/react
. Please read our contributing guidelines for more information on how to contribute.
This project is licensed under the terms of the MIT license.
FAQs
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
We found that @ark-ui/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.