Skip to main content

Dropdown

Dropdowns allow users to take actions, with a simple menu.

Import
import { Dropdown } from "@webeetle/windy";

Contained Dropdown#

Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
Live Editor

Bordered Dropdown#

Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
Live Editor

Text Dropdown#

Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
Live Editor

Custom Dropdown#

Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
Live Editor

Props#

PropsTypeDefault
buttonTextstring''
size["xs", "sm", "md", "lg", "xl"]md
color[ "gray", "red", "yellow", "green", "blue", "indigo", "purple", "pink","none"]indigo
layout["text", "bordered", "contained"]contained
rounded["sm", "md", "lg", "full", "none"]md
disabledboolfalse
shadow["sm", "md", "lg", "full", "none"]md
caretbooltrue
gradientbooltrue