ENVOEnvision DS
← Back to Home

Drawer

A Drawer component.

Preview

Open in v0
Interactive preview template
drawer often requires open/close state and composed children. Use this page as a starting point.

Installation

External project (shadcn CLI). Merge the config into components.json, set ENVISION_REGISTRY_TOKEN, then run the add command. A raw /r/…json URL does not send the token.

Registry config

{ "registries": { "@envision-ds": { "url": "https://envision.envo.no/r/{name}.json", "headers": { "Authorization": "Bearer ${ENVISION_REGISTRY_TOKEN}" } } } }

Install command

npx shadcn@latest add @envision-ds/drawer

Internal monorepo import

import { Drawer } from "@envo/envision-ds/drawer";

Usage

import { Drawer } from "@envo/envision-ds/drawer"; export function Example() { return <Drawer />; }