CLI previewInstall commands shown on this site are not released yet.

DocsComponentsLayout

SidebarSection

React example follows below.
ts
import { SidebarSection } from "@grassroot/ui-react";
<SidebarSection />
ts
<script setup lang="ts">
import { SidebarSection } from "@grassroot/ui-vue";
</script>
<template>
<SidebarSection />
</template>
ts
import { Component } from "@angular/core";
import { GrassrootSidebarSection } from "@grassroot/ui-angular";
@Component({
selector: "app-example",
standalone: true,
imports: [GrassrootSidebarSection],
template: `
<grassroot-sidebar-section />
`,
})
export class ExampleComponent {
}
ts
<script lang="ts">
import { SidebarSection } from "@grassroot/ui-svelte";
</script>
<SidebarSection />
ts
import { SidebarSection } from "@grassroot/ui-solid";
export function Example() {
return (
<>
<SidebarSection />
</>
);
}

Installation

bash
pnpm dlx grassroot add ui/sidebar-section
bash
npx grassroot@latest add ui/sidebar-section
bash
yarn dlx grassroot add ui/sidebar-section
bash
bunx grassroot add ui/sidebar-section

API Reference

SidebarSectionProps
PropTypeDefault
titleMono uppercase group label.string | undefined