dev-resources.site
for different kinds of informations.
Mantine simple responsive component attribute
Published at
6/29/2023
Categories
frontend
ui
mantine
react
Author
jeekwar
Author
7 person written this
jeekwar
open
Hello there, i want to share how to write an attribute with simple responsive using mantine.
simple responsive attribute component support breakpoint property (xs, sm, md, lg, xl), using simple responsive attribute component is by creating an object.
here's the example:
<Text fz={{ base: 32, lg: 48 }} weight={600}> Lorem ipsum dolor </Text>
Following the above there is an attribute called fz that represent font size, each of the breakpoint property active when the width of the viewport is met, property base is use when another property breakpoints (xs, sm, md, lg, xl) are not met.
Now, you can easily set responsive component in mantine.
mantine Article's
10 articles in total
𝐌𝐚𝐧𝐭𝐢𝐧𝐞 𝐁𝐨𝐚𝐫𝐝𝐬 🚀
read article
How I Built an Open-Source Admin Dashboard Template with Mantine and Next.js
read article
How to Create Component Library Like Material UI or Mantine UI?
read article
Mantine simple responsive component attribute
currently reading
Setting up Mantine with Tailwind CSS using Emotion cache
read article
Boost Your Next.js Project with this Pre-Built Application Template
read article
Introducing Mantine DataTable
read article
Mantine Modal Header
read article
Mantine Themes in Storybook 🤯
read article
Pingvin Share - A selfhosted file sharing platform
read article
Featured ones: