# Surface

A translucent surface with backdrop blur, used by every floating control.
Floating surfaces carry a shadow rather than a visible border.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { Surface } from "@mapcairn/map";
 
function Surface(input: SurfaceProps): JSX.Element;
```

## Parameters

- `{ as: Component, variant, radius, className, ...rest }`
- `input` (`SurfaceProps`)

## Returns

`JSX.Element`

## Remarks

Pass `data-chrome` and `data-testid` straight through; a
 `section`, `aside` or `nav` needs an accessible name from the caller.

## See also

- [`SurfaceProps`](https://docs.mapcairn.com/api/map/SurfaceProps.md)

Source: [packages/map/src/ui/Surface/Surface.tsx:25](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/ui/Surface/Surface.tsx#L25)
