Show More
shadcn/uiAn expandable content component that shows a "Show More" button when content exceeds a specified length or number of lines.
Installation
Props
<ShowMore />
Name
Type
children
React.ReactNode
moreContent
React.ReactNode
maskColor
string | { default: string, dark: string } (default: "oklch(var(--background))")
showSeparator
boolean (default: true)