
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@devtools-ds/tree
Advanced tools
A versatile expanding `Tree` component, with full keyboard navigation following the [Tree View Design Pattern](https://www.w3.org/TR/wai-aria-practices/examples/treeview/treeview-2/treeview-2a.html).
A versatile expanding Tree
component, with full keyboard navigation following the Tree View Design Pattern.
npm i @devtools-ds/tree
# or with yarn
yarn add @devtools-ds/tree
Then to use the component in your code just import it!
import { Tree } from "@devtools-ds/tree";
This component follows the DOM structure and interaction guidelines outlined in the Tree View Design Pattern.
Some of these resources were helpful for following the tree
view interaction best practices.
The label can be a string or a React component.
<Tree label="Root">
<Tree label="Branch One">
<Tree label="Leaf One" />
<Tree label="Leaf Two" />
</Tree>
<Tree label="Branch Two" />
<Tree label="Branch Three" />
</Tree>
Thanks goes to these wonderful people (emoji key):
Tyler Krupicka 💻 📖 🎨 🚇 💡 ⚠️ | Adam Dierkens 📖 💡 ⚠️ 💻 | Andrew Lisowski 📖 💡 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
A versatile expanding `Tree` component, with full keyboard navigation following the [Tree View Design Pattern](https://www.w3.org/TR/wai-aria-practices/examples/treeview/treeview-2/treeview-2a.html).
The npm package @devtools-ds/tree receives a total of 179,098 weekly downloads. As such, @devtools-ds/tree popularity was classified as popular.
We found that @devtools-ds/tree demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.