--- type: css --- # Panel Very basic 'panel' card-like CSS component currently used for menu-panels. When building components using `panel` please make use of the CSS custom properties available to help maintain consistency within the panel. **Very important**: Please avoid using style attributes for doing this the below is only for illustrative purposes. Please use this CSS component as a building block for other CSS instead. ```hbs preview-template
Panel with no padding (in dark mode)

Some text purposefully with no padding


Along with a separator ^ again purposefully with no padding

Panel using inherited padding for consistency
Full Width Button

Some text with padding


Along with a separator ^ again with padding

Panel using larger padding and different color borders
Full Width Button

Some text with padding


Along with a separator ^ again with padding

``` ```css .panel { @extend %panel; } .panel hr { @extend %panel-separator; } ``` ## CSS Properties | Property | Type | Default | Description | | --------------- | -------- | --------------------------------- | -------------------------------------------------------------------- | | `--tone-border` | `color` | --token-color-palette-neutral-300 | Default color for all borders | | `--padding-x` | `length` | 14px | Default x padding to be used for padding values within the component | | `--padding-y` | `length` | 14px | Default y padding to be used for padding values within the component |