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

DocsComponentsLayout

SidebarContent

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

Installation

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

API Reference

This entry takes no props of its own.