- Inicio
- Primitivas
- Drawer
- Ejemplos
Drawer
Ejemplo básico de drawer demostrando el comportamiento principal.
Ejemplos
import * as Drawer from "@solidiom/drawer"
;<Drawer.Root>Contenido de Drawer</Drawer.Root>Ver código fuente
/**
* @solidiom/drawer — Headless slide-in drawer primitive.
*
* Parts: Root, Trigger, Backdrop, Content, Close, Title, Description.
*/
export {
Root,
Trigger,
Backdrop,
Content,
Close,
Title,
Description,
type DrawerRootProps,
type DrawerTriggerProps,
type DrawerBackdropProps,
type DrawerContentProps,
type DrawerCloseProps,
type DrawerTitleProps,
type DrawerDescriptionProps,
} from "./drawer"
export { type DrawerSide, type DrawerContextValue } from "./drawer-context"