FoundryKit

API

Public exports from @foundrykit/components.

API

import {
  AdvancedSearchBar,
  AdvancedSearchBarWrapper,
  AdvancedSearchProvider,
  Calendar,
  Command,
  CommandDialog,
  CommandEmpty,
  CommandGroup,
  CommandInput,
  CommandItem,
  CommandList,
  CommandSeparator,
  CommandShortcut,
  DatePicker,
  Form,
  FormControl,
  FormDescription,
  FormField,
  FormItem,
  FormLabel,
  FormMessage,
  Pagination,
  PaginationContent,
  PaginationEllipsis,
  PaginationItem,
  PaginationLink,
  PaginationNext,
  PaginationPrevious,
  SearchBar,
  SearchInput,
  SearchItem,
  SearchResults,
  SearchSection,
  SearchTrigger,
  cn,
  useFormField,
} from '@foundrykit/components';

Type Exports

import type { SearchResult, SearchSection as SearchSectionType } from '@foundrykit/components';

Notes

  • Command* exports are a wrapped command palette surface built on cmdk.
  • AdvancedSearchProvider and its companion exports are the package-level search composition layer.
  • Form exports are intended to work with react-hook-form and the useFormField hook.

On this page