Skip to content

Tree

<ts-tree> vv0.4.0

The ts-tree component.

Open in Storybook for interactive demos.

<ts-tree>Content</ts-tree>
PropertyAttributeTypeDefaultDescription
selectableselectablebooleanfalseEnable item selection mode.
NameDescription
*(default)*Default slot for ts-tree-item children.

Use ::part() to style internal elements:

PartDescription
baseThe tree container.
ts-tree::part(base) {
/* your custom styles */
}
<ts-tree>Content</ts-tree>
import { TsTree } from '@tessera-ui/react';
<TsTree>Content</TsTree>