preskok/ui

Show More

A show more/less component for collapsible content.

Installation

pnpm dlx @preskok-org/ui@latest add show-more

Usage

import { ShowMore } from "@/registry/preskok/ui/preskok-ui/show-more"
 
export function ShowMoreDemo() {
  return <ShowMore>{"Lorem ipsum dolor sit amet..."}</ShowMore>
}