Skip to content

DensitySwitcher

API reference and demos for DensitySwitcher.

Source

import { DensitySwitcher } from "@flanksource/clicky-ui/components";
Default · Open in Storybook
With Preview · Open in Storybook
Changes Data Attribute · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — Classes applied to the root wrapper.
menuClassName string — Classes applied to the popup menu.
triggerClassName string — Classes applied to the icon trigger button.