DocsComponentsLayout
SidebarSection
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-sectionbash
npx grassroot@latest add ui/sidebar-sectionbash
yarn dlx grassroot add ui/sidebar-sectionbash
bunx grassroot add ui/sidebar-sectionAPI Reference
| Prop | Type | Default |
|---|---|---|
titleMono uppercase group label. | string | undefined | — |