Hash ark-ui
Headless component library for React. Use when building UI components with @ark-ui/react, implementing accessible form inputs, overlays, navigation patterns, or needing guidance on Ark UI's data attributes, composition (asChild), and state management patterns.
install
source · Clone the upstream repo
git clone https://github.com/hashintel/hash
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/hashintel/hash "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.codex/skills/ark-ui" ~/.claude/skills/hashintel-hash-ark-ui-67c6ee && rm -rf "$T"
manifest:
.codex/skills/ark-ui/SKILL.mdsource content
Ark UI
Headless component library providing accessible, unstyled React primitives for building custom UI components with full control over styling and behavior.
Key Patterns
- Root pattern:
,Slider.Root
, etc.Slider.Track - CSS styling:
[data-scope="slider"][data-part="track"] - State styling:
,[data-state="open"][data-state="checked"] - Composition: Use
to render as custom element while keeping behaviorasChild - State access: Use
with render propsComponent.Context - Programmatic control: Use hooks like
useAccordion()
Core Concepts
| Topic | URL |
|---|---|
| Getting Started | https://ark-ui.com/react/docs/overview/getting-started |
| Styling (data attributes) | https://ark-ui.com/react/docs/guides/styling |
| Composition (asChild) | https://ark-ui.com/react/docs/guides/composition |
| Component State | https://ark-ui.com/react/docs/guides/component-state |
| Animation | https://ark-ui.com/react/docs/guides/animation |
| Forms Integration | https://ark-ui.com/react/docs/guides/forms |
| Refs | https://ark-ui.com/react/docs/guides/ref |
| Closed Components | https://ark-ui.com/react/docs/guides/closed-components |
Components
Form Inputs
Overlays and Popups
Layout and Navigation
Display and Feedback
Selection and Toggle
| Component | URL |
|---|---|
| Angle Slider | https://ark-ui.com/react/docs/components/angle-slider |
| Segment Group | https://ark-ui.com/react/docs/components/segment-group |
| Toggle | https://ark-ui.com/react/docs/components/toggle |
| Toggle Group | https://ark-ui.com/react/docs/components/toggle-group |
Collections
| Collection | URL |
|---|---|
| Async List | https://ark-ui.com/react/docs/collections/async-list |
| List Collection | https://ark-ui.com/react/docs/collections/list-collection |
| List Selection | https://ark-ui.com/react/docs/collections/list-selection |
| Tree Collection | https://ark-ui.com/react/docs/collections/tree-collection |