Slide

Slide is a component that shows or hides an element from the corners of the page.

クリリンのことか……クリリンのことかーーーっ!!!!!

Usage

import { Slide } from "@yamada-ui/react"
<Slide />

Change Placement

To change the placement, set placement to "block-start", "block-end", "inline-start", or "inline-end". Default is "inline-end".

クリリンのことか……クリリンのことかーーーっ!!!!!

Change Duration

To change the duration, set a number (in seconds) to duration. Default is { enter: 0.4, exit: 0.3 }.

クリリンのことか……クリリンのことかーーーっ!!!!!

Unmount on Exit

To unmount the component when it is not visible, set unmountOnExit to true.

Delay

If you want to delay the switch, set a numerical value (seconds) to delay.

クリリンのことか……クリリンのことかーーーっ!!!!!

Props

Similar Components

Collapse

Collapse is a component that allows you to expand or collapse an element for display.

Fade

Fade is a component that gradually shows or hides an element.

FadeScale

FadeScale is a component that gradually scales up to reveal or scales down to hide an element.

SlideFade

SlideFade is a component that gradually shows or hides an element while moving it from a specified position.

Accordion

Accordion is a component for a list that displays information in an expandable or collapsible manner.

Airy

Airy is a component that provides a smooth animation to switch between two elements.

Drawer

Drawer is a component for a panel that appears from the edge of the screen.

Flip

Flip is a component that provides an animation to switch between two elements while flipping.

Uses Components & Hooks

Used By Components & Hooks