Module: details/Details

Provides a collapsible panel with a title (summary) and details.
Uses summary/details standard tags under the hood.

Source:
See:

Members

(static, constant) Details :object

Type:
  • object
Properties:
Name Type Description
main true

the root component for details components

Source:

(static, constant) DetailsContent :object

Contains the actual content that can be revealed/hidden on demand.

Type:
  • object
Source:

(static, constant) DetailsSummary :object

The details summary is the title that is always visible

Type:
  • object
Properties:
Name Type Description
variant 'default' | 'outline'

supported default variants

size 'default' | 'sm' | 'lg' | 'icon'

supported default sizes

Source:

(static, constant) DetailsTrigger :object

The trigger can hold a custom element that animates when opening / closing

Type:
  • object
Source: