Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic
Actions

ButtonGroup <pm-button-group>

Groups buttons with joined edges.

Full screen
Left Center Right

This component has no props to try here.

<script type="module"> import '@prismora/css'; import '@prismora/elements/button'; import '@prismora/elements/button-group'; </script> <pm-button-group label="Text alignment"> <pm-button variant="outline" tone="neutral">Left</pm-button> <pm-button variant="outline" tone="neutral">Center</pm-button> <pm-button variant="outline" tone="neutral">Right</pm-button> </pm-button-group>

Attributes

AttributeTypeDefaultDescription
labelstring—Accessible name (and visible label where the component shows one).

Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.

Slots

SlotDescription
(default)pm-button elements.