Box
component that allows you to use "style props" in your components allowing you to rapidly build web & native applications.Learn moresetColorMode
function! You can also create other custom modes as well (such as: Christmas mode or Dank mode).Learn morefunction Example() {const { colorMode, setColorMode } = useColorMode();return (<Stack alignX="center"><Textcolor="text100"fontSize="100"fontWeight="500"textTransform="uppercase">Current mode</Text><Text fontWeight="500">{colorMode}</Text><Set><Button onClick={() => setColorMode('default')}>Light</Button><Button onClick={() => setColorMode('dark')}>Dark</Button></Set></Stack>)}
<Alert title="An error occurred" type="danger">We were unable to save your changes.</Alert>
<divrole="alert"aria-labelledby="alertTitle"aria-describedby="alertDescription"><div id="alertTitle">An error occurred</div><div id="alertDescription">We were unable to save your changes.</div></div>
const theme = {fonts: {default: '"Comic Sans MS", sans-serif',heading: '"Helvetica", sans'},palette: {primary: '#574feb',success: '#0a7d33',danger: '#da1717',warning: '#ed9c22'},Button: {defaultProps: {palette: 'primary'}}}<BumbagProvider theme={theme}>...</BumbagProvider>
6km from city center
from $35 a night