preskok/ui

Description List

Semantic list of term–description pairs.

Installation

pnpm dlx @preskok-org/ui@latest add description-list

Usage

import { DescriptionList } from "@/registry/preskok/ui/preskok-ui/description-list"
 
export function Example() {
  return (
    <DescriptionList>
      <DescriptionList.Term>Project</DescriptionList.Term>
      <DescriptionList.Details>Preskok UI</DescriptionList.Details>
    </DescriptionList>
  )
}

Components

  • DescriptionList: root dl
  • DescriptionList.Term: dt
  • DescriptionList.Details: dd