# KptBottomSheet (kpt-bottom-sheet) A sheet that slides up from the bottom of the screen. Driven by the `open` signal, with a handle and a backdrop. Import: `import { KptBottomSheet } from '@konce-pt/angular';` ## Inputs / model - `open`: model (two-way) - `header`: string; `closeOnBackdrop`: boolean - Content through projection. ## Example Share ... ## The closed state / a11y The sheet is always in the DOM (no `@if`), hidden with `transform` **and** `visibility: hidden` - never `display: none`, so that the slide-in and slide-out animations survive. `visibility` takes the closed sheet out of the tab order and out of the accessibility tree without `inert`, and it does so on the very first frame, without waiting for JavaScript. `prefers-reduced-motion: reduce` drops the transitions. ## Focus and keyboard Opening moves focus into the panel (`cdkFocusInitial`, else its first focusable element, else the panel itself) and traps it there - `Tab` / `Shift+Tab` wrap inside, as `aria-modal="true"` promises. Closing returns focus to the element that had it before. `Escape` closes the panel. The panel is named by its `header` through `aria-labelledby`. The shared helper is `shared/modal-focus.ts` (on the CDK focus trap; the React port has a twin hook). ## Tokens The panel `--kpt-color-surface-raised`, the top radius `--kpt-radius-lg`, `--kpt-elevation-4`; the backdrop `--kpt-color-overlay-scrim`. ## Name and scrolling Without `header` give the sheet `ariaLabel` - a `role="dialog"` without a name is announced as a bare "dialog". An open sheet locks page scrolling underneath.