Tree
<ts-tree> vv0.4.0
The ts-tree component.
Open in Storybook for interactive demos.
Preview
Section titled “Preview”<ts-tree>Content</ts-tree>Properties
Section titled “Properties”| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
selectable | selectable | boolean | false | Enable item selection mode. |
| Name | Description |
|---|---|
*(default)* | Default slot for ts-tree-item children. |
CSS Parts
Section titled “CSS Parts”Use ::part() to style internal elements:
| Part | Description |
|---|---|
base | The tree container. |
ts-tree::part(base) { /* your custom styles */}<ts-tree>Content</ts-tree>import { TsTree } from '@tessera-ui/react';
<TsTree>Content</TsTree>