Docs Components Uncategorized

Blockquote

React example follows below.
ts
import { Blockquote } from "@grassroot/ui-react";
export default function BlockquoteDemo() {
return <Blockquote>One render plan, five framework adapters.</Blockquote>;
}
ts
<script setup lang="ts">
import { Blockquote } from "@grassroot/ui-vue";
</script>
<template>
<Blockquote>One render plan, five framework adapters.</Blockquote>
</template>
ts
import { Component } from "@angular/core";
import { GrassrootBlockquote } from "@grassroot/ui-angular";
@Component({
selector: "app-blockquote-demo",
standalone: true,
imports: [GrassrootBlockquote],
host: { style: "display: contents" },
template: `<grassroot-blockquote>One render plan, five framework adapters.</grassroot-blockquote>`,
})
export class BlockquoteDemoComponent {}
export default BlockquoteDemoComponent;
ts
<script lang="ts">
import { Blockquote } from "@grassroot/ui-svelte";
</script>
<Blockquote>One render plan, five framework adapters.</Blockquote>
ts
/** @jsxImportSource solid-js */
import { Blockquote } from "@grassroot/ui-solid";
export default function BlockquoteDemo() {
return <Blockquote>One render plan, five framework adapters.</Blockquote>;
}

Installation

API Reference

Import

import { Blockquote } from "@grassroot/ui-react";

Content regions

  • children

Native attributes

Standard DOM and ARIA attributes not listed above spread onto the root element.

Import

import { Blockquote } from "@grassroot/ui-vue";

Content regions

  • default

Import

import { Component } from "@angular/core";
import { GrassrootBlockquote } from "@grassroot/ui-angular";

Props

Prop
Type
Default
Requirement
className
string
optional
Prop
className
Type
string
Default
Requirement
optional

Content regions

  • default

Import

import { Blockquote } from "@grassroot/ui-svelte";

Props

Prop
Type
Default
Requirement
class
string
optional
Prop
class
Type
string
Default
Requirement
optional

Content regions

  • children

Import

import { Blockquote } from "@grassroot/ui-solid";

Props

Prop
Type
Default
Requirement
className
string
optional
Prop
className
Type
string
Default
Requirement
optional

Content regions

  • children

Native attributes

Standard DOM and ARIA attributes not listed above spread onto the root element.