An inline quotation component rendered as a native q element. Automatically adds quotation marks via CSS.
import Quote from "@radui/ui/Quote"Example
To be or not to be, that is the question.
The only way to do great work is to love what you do.
- Renders the q element, so the browser adds the quotation marks for the language
- truncate clips long quotes to one line with an ellipsis
Import all parts of the component and piece them together.
An inline quotation rendered as a native q element.
| Prop | Type | Default | Description |
|---|---|---|---|
truncate | boolean | false | Truncates overflowing text with an ellipsis. Sets data-truncate on the element. |
customRootClass | string | "" | Overrides the Theme classNamespace for this component only. |
className | string | "" | Additional CSS classes applied to the element. |
Example
The only way to do great work is to love what you do. If you haven't found it yet, keep looking.