Introduction
Installation
Next.jsViteLaravelReact RouterRemixAstroTanStack StartTanStack RouterManual InstallationMCP
All componentsTheme
FieldFormInputText FieldTextareaSearch FieldInput OTPNumber FieldNumber FormatSliderCheckboxSwitchRadioSelectCombo BoxList BoxChoice BoxMulti SelectToken FieldNewTag FieldTag GroupCalendarDate FieldDate PickerDate Range PickerRange CalendarTime FieldColor PickerColor FieldColor AreaColor SliderColor SwatchColor Swatch PickerColor ThumbColor WheelDrop ZoneFile Trigger
ButtonButton GroupToggleToggle GroupPreskok Auth Button
EditorHeadingLinkTextKeyboard
CardContainerGrid ListResizableTableTreeSeparatorDescription ListScroll AreaShow MoreToolbar
BreadcrumbsNavbarPaginationTabsSidebar
DialogModalDrawerPopoverPreview TriggerNewSheetTooltipContext MenuDropdownCommandCommand MenuDisclosureMenu
ToastProgress BarProgress CircleMeterLoaderSkeletonNoteBadge
Chart (helpers)Area ChartBar ChartLine ChartPie ChartExperimental ChartsNewExperimental Radial ChartNewExperimental Radar ChartNewBar ListTracker
Async ImageAvatarCarouselPreskok Icon
Popups

Disclosure

Expandable sections (accordion/collapsible) with trigger and panel.

View as MarkdownAsk ChatGPT

Installation

npx shadcn@latest add @preskok/disclosure

Usage

import {
  Disclosure,
  DisclosureGroup,
  DisclosurePanel,
  DisclosureTrigger,
} from "@/components/ui/preskok-ui/disclosure"

export function Example() {
  return (
    <DisclosureGroup>
      <Disclosure>
        <DisclosureTrigger>Section</DisclosureTrigger>
        <DisclosurePanel>Content</DisclosurePanel>
      </Disclosure>
    </DisclosureGroup>
  )
}

Components

  • DisclosureGroup, Disclosure, DisclosureTrigger, DisclosurePanel

Command Menu

Spotlight-style command menu with search, sections, and keyboard shortcuts.

Menu

A comprehensive menu component with submenus and sections.

On this page

Installation
Usage
Components

You can add your tax information to your invoices, including your company name, tax ID, and billing address.

You can add your car information details to your invoices, including your company name, tax ID, and billing address.

You can add your vehicle details information to your invoices, including your company name, tax ID, and billing address.