Dev Design Library

Absolute Center

Used to horizontally and vertically center an element relative to its parent dimensions using absolute positioning.

Absolute Center preview
Library
Chakra UI
Framework
React
Type
component
License
MIT
Install
npm i @chakra-ui/react @emotion/react
Files
  • packages/react/src/components/absolute-center/absolute-center.tsx
  • packages/react/src/components/absolute-center/index.ts
  • packages/react/src/styled-system/index.ts
  • packages/react/src/styled-system/config.ts
  • packages/react/src/styled-system/create-recipe-context.tsx
  • packages/react/src/styled-system/create-slot-recipe-context.tsx
  • packages/react/src/styled-system/css.types.ts
  • packages/react/src/styled-system/composition.ts
Source
https://github.com/chakra-ui/chakra-ui

Categories

More from Chakra UI