GithubHelp home page GithubHelp logo

mantinedev / ui.mantine.dev Goto Github PK

View Code? Open in Web Editor NEW
2.6K 2.6K 310.0 11.22 MB

Mantine UI website and components

Home Page: https://ui.mantine.dev

License: MIT License

JavaScript 0.21% TypeScript 78.17% CSS 21.62%
components react ui

ui.mantine.dev's People

Contributors

ajnart avatar leochoo avatar rtivital avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ui.mantine.dev's Issues

Remove "responsive" Header examples unless they are usable on all viewport sizes

Only one two of the Header examples actually work on small viewports, and yet there are "twelve" "responsive" components. This feels very misleading and confusing. What's more is that it's entirely unclear which of these components has a menu toggle that works at smaller viewport widths.

At first I thought every menu in the Header components was broken and came here to look for bug reports, but after finding #37 I see that this is apparently expected behavior. As a prospective user of the library, it makes me question the integrity of the other components in Mantine: i.e. am I going to be unpleasantly surprised to find that something else doesn't work as it would appear on the surface?

Regardless of whether the headers are labelled "responsive" or not: what is the point of collapsing a menu behind a toggle button on mobile if the toggle button does nothing at all? I would suggest removing the non-functional components entirely until they can be re-introduced with the functionality implied by the menu toggle button. Otherwise, the examples aren't really showing anything interesting at all – it's easy to toggle the state of an icon, but mobile navigation is hard.

💡Idea... more UI components?

Hi all, would be fine if members of mantine community can submit thir own custom components to mantine UI... just to increase the components count and show how powerful mantine is.... @rtivital what do you think?

[Help Wanted, Urgent] Tailwind CSS support.

Can I use Tailwind CSS for styling as I prefer it over your default create style and theme css-in-js solution? Does it work correctly without any style overrides as Mantine now also provides unstyled components? I am wondering if I use Tailwind CSS it doesn't make style conflicts or weird behavior in different browsers. As Tailwind CSS is widely used so if you somehow allow choosing between Tailwind CSS or CSS-in-js. Your library also gets a boost in popularity resulting in more adoption. Consider, this as an important factor please, and answer me. You can also come up with an unstyled version of all components which gives the flexibility to use any styling solution.

Progress bar Usage animated type

EDIT - Opened on the wrong repository

The Usage section that let the developers try the component says animate instead of animated as it should

Mantine UI Dropzone Not Working.

I need to use the Dropzone component Mantine offers, but the behaviour it presents it is not the expected one. When a file is uploaded when using on project, no Reject or Download button is shown as the code presents. Either a list of files is shown, so there is no idea if the component works or more work is needed to make it function.

Menu not displaying on mobile for Headers UI components

Hey there! I'm new to Mantine and I was looking for a way to make my application's header, so I went right into https://ui.mantine.dev/category/headers.

The problem here is that even though the layout is responsive, the menu is not. For instance, if we look at https://ui.mantine.dev/component/header-menu-colored we can see that when narrowing the window the burger menu is displayed, but upon clicking it does nothing (see video below). Is this behavior intentional to keep it short? Otherwise, how could I display the menu on mobile?

Does anyone have a clue on that? I'm thinking that a <Menu> should do the trick, but would be nice to have that as part of the responsive example. Thanks!

Screen.Recording.2022-11-02.at.14.35.18.mov

TablerIcons 2.0 breaks UI navigation components

The error that occurs is:

[plugin:vite:import-analysis] Failed to resolve entry for package "@tabler/icons". The package may have incorrect main/module/exports specified in its package.json: Missing "." specifier in "@tabler/icons" package

Header With logo in middle

Hello , I am new to React and I am trying to use the Header with logo in middle. I am familliar with React Native , but React is a whole different story. I installed all the needed dependecies and I created a Navbar.tsx file. Added the code and so. I tried to use it but i get an error regarding links and nothing shows up . What is the correct usage? I even tried with dummy data creating a variable and adding the links from the example , but still no luck. Sorry if my question makes no sense feel free to delete it if so.
Thanks in advance!

module not found

Hi, im trying to fork the repo and run it on my pc, im getting some issue like some modules are missing

> [email protected] dev
> next dev -p 7522

ready - started server on 0.0.0.0:7522, url: http://localhost:7522
error - ./node_modules/@mantine/core/esm/index.js:2:0
Module not found: Can't resolve './components/Transition/index.js'

Import trace for requested module:
./src/components/Layout/Layout.tsx
./src/pages/_app.tsx

https://nextjs.org/docs/messages/module-not-found
wait  - compiling /_error (client and server)...
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /home/aman/open-source/ui.mantine.dev/node_modules/fsevents isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /home/aman/open-source/ui.mantine.dev/node_modules/fsevents isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
error - ./node_modules/@mantine/core/esm/index.js:2:0
Module not found: Can't resolve './components/Transition/index.js'

Import trace for requested module:
./src/components/Layout/Layout.tsx
./src/pages/_app.tsx

https://nextjs.org/docs/messages/module-not-found
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /home/aman/open-source/ui.mantine.dev/node_modules/fsevents isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)

Remove the AM/PM selector from the DateTimePicker in Mantine UI

Is it possible to remove the AM/PM from the DateTimePicker component while only keeping the selected hours and minutes? I couldn’t find anything in the documentation.

 <DateTimePicker
            radius="md"
            label="Data do disparo"
            placeholder="Disparo"
            withSeconds={false}
            valueFormat="DD/MM/YYYY HH:mm:ss"
          />

cannot find @mantine/utils in nowhere

hello!
thanks for this awesome library, i'm starting to using it and i'm loving!

Just want to report something, on the example Table with search and sort, it is importing a function called keys from the library @mantine/utils, but i'm not finding that library anywhere on mantine website. Could you point it out if the name changed or something like that?

Thanks in advance

Storybook run fail

commit 6f9c568ee161ab3239b826af92dd48415e319cf8

> git clone https://github.com/mantinedev/ui.mantine.dev.git
> cd ui.mantine.dev
> yarn
> yarn run storybook
yarn run v1.22.19                                                                         
$ storybook dev -p 6006                                                                   
@storybook/cli v7.0.18                                                                    
                                                                                          
info => Starting manager..                                                                
WARN You (or an addon) are using the 'config' preset field. This has been replaced by 'pre
viewAnnotations' and will be removed in 8.0                                               
info Addon-docs: using MDX2                                                               
info => Using implicit CSS loaders                                                        
info => Using default Webpack5 setup                                                      
<i> [webpack-dev-middleware] wait until bundle finished                                   
11% building 0/2 entries 189/284 dependencies 3/120 modulesWARN 🚨 Unable to index files: 
WARN - ./lib/ActionToggle/ActionToggle.story.tsx: Unexpected `storiesOf` usage: /media/d9k
/Media3/repos/ui.mantine.dev/lib/ActionToggle/ActionToggle.story.tsx (line 6, col 0).     
WARN                                                                                      
WARN In SB7, we use the next-generation `storyStoreV7` by default, which does not support 
`storiesOf`.                                                                              
WARN More info, with details about how to opt-out here: https://github.com/storybookjs/sto
rybook/blob/next/MIGRATION.md#storystorev7-enabled-by-default                             
WARN - ./lib/ActionsGrid/ActionsGrid.story.tsx: Unexpected `storiesOf` usage: /media/d9k/M
edia3/repos/ui.mantine.dev/lib/ActionsGrid/ActionsGrid.story.tsx (line 6, col 0).         

. . . . .
99% end closing watch compilationWARN Force closed preview build                          
ModuleNotFoundError: Module not found: Error: Can't resolve './StatsSegments.module.css' i
n '/media/d9k/Media3/repos/ui.mantine.dev/lib/StatsSegments'
                                                                                          
WARN Broken build, fix the error above.                                                   
WARN You may need to refresh the browser.                                                 
                                                                                          
error Command failed with exit code 1.

Versions

> node --version
v20.8.0
> yarn --version
1.22.19

Ubuntu 22.04

Will it be migrated to Mantine v7?

As the title.

Most of the existing demos are relying on the sx prop and the createStyles API. I am wondering if all demos are compatible with Mantine v7, is CSS Modules + CSS Variable powerful enough to implement those demos?

UX: Wrap UI component category cards in actual links

The component categories in https://ui.mantine.dev/ cannot currently be right-clicked and/or opened in a new tab. If a user wants to open multiple categories side-by-side, they have to employ awkward workarounds.

I believe the usability of the component overview could be greatly improved if each card was wrapped in an actual <a> element.

Support opening search results in new tab in spotlight search

I am jumping a lot between components when I am building a page and I always have to mess around with the sidebar to be able to open multiple ones quickly.

It would be great to be able to right click and open in new tab e.g. Typography in the results in the image below.

Screenshot from 2022-08-05 13-49-50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.