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

DocsComponentsLayout

SidebarHeader

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

Installation

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

API Reference

This entry takes no props of its own.